-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (32 loc) · 1.13 KB
/
setup.py
File metadata and controls
36 lines (32 loc) · 1.13 KB
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
#!/usr/bin/env python3
import os
import sys
from setuptools import setup
# Prepare and send a new release to PyPI
if "release" in sys.argv[-1]:
os.system("python3 setup.py sdist")
os.system("python3 -m twine upload dist/*")
os.system("rm -rf dist/*")
sys.exit()
# Load the __version__ variable without importing the package already
exec(open('chaplinfilter/version.py').read())
setup(name='chaplinfilter',
version=__version__,
description="A simple package to calculate the filter timescale from"
"Chaplin et al. in prep.",
long_description=open('README.md').read(),
author='Guy R. Davies',
author_email='grd349@gmail.com',
licence='MIT',
packages=['chaplinfilter'],
#url='TODO',
install_requires=['numpy', 'scikit-learn', 'pandas'],
include_package_data=True,
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
],
)