forked from cacao-org/cacao
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (33 loc) · 1006 Bytes
/
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
'''
camstack setup.py
deps:
libtmux
pyMilk
docopt
'''
from setuptools import setup
from setuptools.command.install import install
from setuptools.command.develop import develop
from subprocess import check_call
import os
class PreInstallCommand(develop):
def run(self):
# Add custom make commands here !
# Migration of compiled grabbers to hardwaresecrets repo.
#os.system('cd src; ./compile_edt; cd ..')
#os.system('cd src; ./compile_dcamusb; cd ..')
develop.run(self)
scripts = []
setup(
name='pycacao',
version='1.0',
description='Python AO tools over CACAO',
long_description='No long description',
author='Vincent Deo & Olivier Guyon',
author_email='[email protected]',
url="http://www.github.com/cacao-org/cacao",
packages=['pycacao'], # same as name
install_requires=['numpy', 'astropy'],
scripts=scripts,
cmdclass={'develop': PreInstallCommand},
)