forked from dfm/casjobs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·42 lines (36 loc) · 1.03 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
#!/usr/bin/env python
try:
from setuptools import setup, Extension
setup, Extension
except ImportError:
from distutils.core import setup
from distutils.extension import Extension
setup, Extension
import os
import sys
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
desc = open("README.rst").read()
with open("requirements.txt") as f:
required = f.readlines()
setup(
name="casjobs",
version="0.0.2",
author="Daniel Foreman-Mackey",
author_email="[email protected]",
url="https://github.com/dfm/casjobs",
py_modules=["casjobs", ],
install_requires=required,
license="MIT",
description="An interface to CasJobs for Humans.",
long_description=desc,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
)