-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
37 lines (32 loc) · 1.07 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
from setuptools import setup
FNAME_README = "README.rst"
FNAME_REQUIREMENTS = "requirements.txt"
FNAME_VERSION = "cosmopy/VERSION.txt"
with open(FNAME_REQUIREMENTS, "r") as inn:
requirements = inn.read().splitlines()
with open(FNAME_README, "r") as inn:
long_description = inn.read().strip()
with open(FNAME_VERSION, "r") as inn:
version = inn.read().strip()
setup(
name="cosmopy",
author="Luke Zoltan Kelley",
author_email="[email protected]",
version=version,
description="",
license="MIT",
url="https://github.com/lzkelley/cosmopy",
download_url="https://github.com/lzkelley/cosmopy/archive/v{}.tar.gz".format(version),
packages=['cosmopy'],
entry_points={
'console_scripts': [
'cosmo = cosmopy.__main__:main'
]
},
include_package_data=True,
install_requires=requirements,
long_description=long_description,
long_description_content_type='text/markdown',
keywords=['utilities', 'physics', 'astronomy', 'cosmology', 'astrophysics', 'calculator'],
python_requires=">=3.8",
)