-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
51 lines (48 loc) · 1.56 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from io import open as io_open
from pathlib import Path
from setuptools import find_packages, setup
readme_file = Path(__file__).parent / 'README.md'
if readme_file.exists():
with io_open(readme_file, 'r', encoding='utf-8') as f:
long_description = f.read()
else:
# When this is first installed in development Docker, README.md is not available
long_description = ''
setup(
name='django-raster-demo',
version='0.0.0',
description='Demo django-large-image with django-raster',
long_description=long_description,
long_description_content_type='text/markdown',
license='Apache 2.0',
author='Kitware, Inc.',
author_email='[email protected]',
url='https://github.com/girder/django-large-image',
keywords='',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django :: 3.0',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python',
],
python_requires='>=3.8',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django<4.0',
'djangorestframework',
'django_extensions',
'drf-yasg',
'large-image[gdal]>=1.14',
'django-large-image>=0.7.0',
'django-raster',
'psycopg2',
'whitenoise',
],
)