-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
43 lines (37 loc) · 1.38 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
import glob
import re
from setuptools import setup, find_packages
with open("requirements.txt") as f:
required = f.read().splitlines()
with open("README.md", "r") as f:
long_description = f.read()
with open("your/__init__.py", "r") as f:
vf = f.read()
version = re.search(r"^_*version_* = ['\"]([^'\"]*)['\"]", vf, re.M).group(1)
setup(
name="your",
version=version,
packages=find_packages(),
url="https://github.com/thepetabyteproject/your",
author="Devansh Agarwal, Kshitij Aggarwal",
scripts=glob.glob("bin/*"),
tests_require=["pytest", "pytest-cov"],
install_requires=required,
long_description=long_description,
long_description_content_type="text/markdown",
author_email="[email protected], [email protected]",
zip_safe=False,
description="A unified reader for sigproc filterbank and psrfits data",
classifiers=[
"Natural Language :: English",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Scientific/Engineering :: Astronomy",
],
)