-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
38 lines (31 loc) · 1.24 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
import os
from setuptools import setup, find_packages
pkg = 'drasticali'
__version__ = '0.1.1'
build_root = os.path.dirname(__file__)
scripts = ["bin/" + j for j in os.listdir("bin") ]
def readme():
"""Get readme content for package long description"""
with open(os.path.join(build_root, 'README.rst')) as f:
return f.read()
def requirements():
"""Get package requirements"""
with open(os.path.join(build_root, 'requirements.txt')) as f:
return [pname.strip() for pname in f.readlines()]
setup(name=pkg,
version=__version__,
description="Diverse Radio Astronomy Software Tools for Imaging and Calibration",
long_description=readme(),
author="Athanaseus Ramaila",
author_email="[email protected]",
packages=find_packages(),
url="https://github.com/Athanaseus/drasticali",
license="GNU GPL 3",
classifiers=["Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Software Development :: Libraries :: Python Modules"],
platforms=["OS Independent"],
scripts=scripts,
include_package_data=True,
install_requires=requirements())