-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (47 loc) · 1.36 KB
/
setup.py
File metadata and controls
51 lines (47 loc) · 1.36 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import sys
import os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
def find_packages():
return []
import versioneer
if sys.version_info[:2] < (2, 7) or (3, 0) <= sys.version_info[:2] < (3, 2):
raise RuntimeError("Python version 2.7 or >= 3.2 required.")
NAME = 'local-volume-db'
CLASSIFIERS = """\
Development Status :: 2 - Pre-Alpha
Intended Audience :: Science/Research
Intended Audience :: Developers
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Natural Language :: English
Topic :: Scientific/Engineering
"""
URL = 'https://github.com/kadrlica/local-volume-db'
DESCR = "Module supporting a database of Local Volume galaxies"
LONG_DESCR = "See %s for more details."%URL
setup(
name=NAME,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
url=URL,
author='Alex Drlica-Wagner',
author_email='kadrlica@fnal.gov',
scripts = [],
install_requires=[
'numpy >= 1.9.0',
'pyyaml >= 3.10',
'psycopg2'
],
packages=find_packages(),
package_data={},
description=DESCR,
long_description=LONG_DESCR,
platforms='any',
classifiers = [_f for _f in CLASSIFIERS.split('\n') if _f]
)