forked from asu-trans-ai-lab/grid2demand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (52 loc) · 1.87 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
"""
# -*- coding:utf-8 -*-
##############################################################
# Created Date: Monday, December 28th 2020
# Contact Info: [email protected]
# Author/Copyright: Mr. Xiangyong Luo
##############################################################
"""
import setuptools
# setuptools.setup()
with open("./README_pkg.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
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 = []
setuptools.setup(
name="grid2demand", # Replace with your own username
version="1.0.0rc3",
author="Xiangyong Luo, Xuesong Simon Zhou",
author_email="[email protected]",
description="A tool for generating zone-to-zone travel demand based on grid cells or TAZs and gravity model",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/xyluo25/grid2demand",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires='>=3.10',
install_requires=modules_needed,
packages=setuptools.find_packages(),
include_package_data=True,
package_data={'': ['*.txt', '*.xls', '*.xlsx', '*.csv'],
"test_data": ['*.xls']},
project_urls={
'Homepage': 'https://github.com/xyluo25/grid2demand',
'Documentation': 'https://github.com/xyluo25/grid2demand',
# 'Bug Tracker': '',
# 'Source Code': '',
# 'Download': '',
# 'Publication': '',
# 'Citation': '',
# 'License': '',
# 'Acknowledgement': '',
# 'FAQs': '',
# 'Contact': '',
}
)