-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (36 loc) · 1.29 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
import os
from setuptools import find_packages, setup
from setuptools.config import read_configuration
extras = read_configuration('setup.cfg')
# create home directory
if not os.path.isdir(os.path.join(os.environ['HOME'], '.HDPmt')):
os.mkdir(os.path.join(os.environ['HOME'], '.HDPmt'))
with open('README.md', 'r') as f:
long_description = f.read()
# get requirements
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name='HDPmt',
use_scm_version={'write_to': os.path.join('HDPmt', '_version.py')},
# version="0.4.0",
description='Heliospheric Disturbance Propagation Model & Tool (HDPmt): An open-source software package developed to model the propagation of heliospheric disturbances.',
url='https://github.com/AthKouloumvakos/HDPmt',
# long_description=long_description,
long_description_content_type='text/markdown',
author='Athanasios Kouloumvakos',
author_email='[email protected]',
license='GPL-3.0',
# license_file="LICENSE.md",
python_requires='>=3.8',
install_requires=requirements,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'hdpmt = HDPmt.HDPt_cli:main'
]
},
extras_require=extras,
)