-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
69 lines (61 loc) · 2.09 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
'''
Created on 12 juin 2020
@author: tleduc
https://packaging.python.org/tutorials/packaging-projects/
'''
from setuptools import setup, find_packages
with open('README.md') as readme_file:
README = readme_file.read()
# with open('HISTORY.md') as history_file:
# HISTORY = history_file.read()
# EXCLUSION_LIST = ['tests', 'tests.*']
EXCLUSION_LIST = ['tests', 'tests.*', 't4gpd.future', 't4gpd.future.*']
setup_args = dict(
name='t4gpd',
# version='0.0.1',
version=open('t4gpd/_version.py').readlines()[-1].split()[-1].strip("\"'"),
description='Set of tools based on Python, GeoPandas and Shapely to achieve urban geoprocessing',
long_description_content_type='text/markdown',
long_description=README + '\n\n',
# long_description=README + '\n\n' + HISTORY,
license='GPLv3+',
packages=find_packages(exclude=EXCLUSION_LIST),
author='Thomas Leduc',
author_email='thomas.leduc@crenau.archi.fr',
keywords=['Geospatial analysis', 'Urban form', 'Urban morphology', 'Isovist'],
url='https://t4gpd-docs.readthedocs.io',
download_url='https://sourcesup.renater.fr/frs/?group_id=463',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Education',
'Topic :: Scientific/Engineering :: GIS',
],
python_requires='>=3.6',
)
install_requires = [
# 'Dijkstar',
# 'geopandas',
# 'matplotlib>=2.0.1',
# 'networkx',
# 'numpy',
# 'opencv-python',
# 'pysolar',
# 'pythermalcomfort',
# 'pyvista',
# 'PyWavelets',
# 'scikit-learn',
# 'scipy',
# 'shapely',
# 'suntimes'
]
if __name__ == '__main__':
setup(**setup_args, install_requires=install_requires)