-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
53 lines (37 loc) · 1.66 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
44
45
46
47
48
49
50
51
#!/usr/local/bin/python3
import sys,os,string,glob,subprocess
from setuptools import setup,Extension
from setuptools.command.build_ext import build_ext
from setuptools.command.install import install
import numpy
long_description = """\
This module uses the RRG method to measure the shapes of galaxies
in Hubble Space Telescope data
"""
#twine upload dist/dist.tar.gz
version='0.4.1'
INCDIRS=['.']
packages = ['pyRRG', 'RRGtools','asciidata','stilts']
package_dir = {'RRGtools':'./lib/RRGtools',
'pyRRG':'./src',
'asciidata':'./lib/asciidata',
'stilts':'./lib/stilts/'}
package_data = \
{'pyRRG': ['psf_lib_jwst/*/*','psf_lib/*/*','sex_files/*','*.pkl'],\
'stilts':['*.jar']}
setup ( name = "pyRRG",
version = version,
author = "David Harvey",
author_email = "david.harvey@epfl.ch",
description = "pyRRG module",
license = 'MIT',
packages = packages,
package_dir = package_dir,
package_data = package_data,
scripts = ['scripts/pyRRG','scripts/stilts.sh'],
url = 'https://github.com/davidharvey1986/pyRRG', # use the URL to the github repo
download_url = 'https://github.com/davidharvey1986/pyRRG/archive/'+version+'.tar.gz',
install_requires=['scikit-learn',\
'numpy', 'tqdm', \
'scipy'],
)