forked from jiawlu/OSM2GMNS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (29 loc) · 1.16 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
import setuptools
try:
# if have requirements.txt file inside the folder
with open("requirements.txt", "r", encoding="utf-8") as f:
modules_needed = [i.strip() for i in f.readlines()]
except Exception:
modules_needed = []
with open("README.rst", "r", encoding="utf-8") as f:
_long_description = f.read()
setuptools.setup(
name='osm2gmns',
version='0.7.6',
author='Jiawei Lu, Xuesong Zhou',
author_email='[email protected], [email protected]',
url='https://github.com/jiawlu/OSM2GMNS',
description="convert map data from OpenStreetMap to network files in GMNS format",
long_description=_long_description,
long_description_content_type="text/x-rst",
license='GPLv3+',
packages=setuptools.find_packages(),
python_requires=">=3.10",
classifiers=['License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12'
],
install_requires=modules_needed,
)