-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (28 loc) · 1.01 KB
/
setup.py
File metadata and controls
39 lines (28 loc) · 1.01 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
### Following pixmappy's setup
import glob, os
try:
from setuptools import setup
import setuptools
print("Using setuptools version",setuptools.__version__)
except ImportError:
from distutils.core import setup
import distutils
print("Using distutils version",distutils.__version__)
dependencies = ['numpy', 'astropy', 'scipy', 'numba', 'spacerocks', 'rich']
with open('README.md') as file:
long_description = file.read()
## ignoring version stuff for now
data = glob.glob(os.path.join('data', '*'))
dist = setup(
name = "DESTNOSIM",
version = "1.3.4",
author = "Pedro Bernardinelli",
author_email = "pedrobe@sas.upenn.edu",
description = "Python module for simulating DES TNO observations",
long_description = long_description,
long_description_content_type='text/markdown',
license = "BSD License",
url = "https://github.com/bernardinelli/DESTNOSIM",
packages = ['destnosim', 'destnosim.des', 'destnosim.tno'],
package_data = {'destnosim' : data},
install_requires = dependencies,)