Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
78 lines (64 sloc) 2.6 KB
#!/usr/bin/env python
"""
@file setup.py
@see http://peak.telecommunity.com/DevCenter/setuptools
"""
import sys
import os
# Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml)
if sys.platform == 'darwin':
os.environ['C_INCLUDE_PATH'] = '/usr/local/include'
version = '0.1.2-dev'
setupdict = {
'name' : 'epuharness',
'version' : version,
'description' : 'OOICI CEI Elastic Processing Unit Test Harness',
'url': 'https://confluence.oceanobservatories.org/display/CIDev/Common+Execution+Infrastructure+Development',
'license' : 'Apache 2.0',
'author' : 'CEI',
'author_email' : 'patricka@uvic.ca',
'keywords': ['ooici','cei','epu'],
'classifiers' : [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering'],
}
from setuptools import setup, find_packages
setupdict['packages'] = find_packages()
setupdict['dependency_links'] = [
'https://github.com/ooici/epu/tarball/master#egg=epu-1.3.0',
'https://github.com/nimbusproject/pidantic/tarball/master#egg=pidantic-0.2',
'https://github.com/ooici/eeagent/tarball/master#egg=eeagent-0.2',
'https://github.com/nimbusproject/ceiclient/tarball/master#egg=ceiclient-0.2',
'https://github.com/apache/libcloud/tarball/trunk#egg=apache-libcloud-0.14.0-dev',
'http://sddevrepo.oceanobservatories.org/releases',
]
setupdict['test_suite'] = 'epuharness'
# ssl package won't install on 2.6+, but is required otherwise.
# also, somehow the order matters and ssl needs to be before ioncore
# in this list (at least with setuptools 0.6c11).
setupdict['install_requires'] = []
if sys.version_info < (2, 6, 0):
setupdict['install_requires'].append('ssl==1.15-p1')
setupdict['install_requires'] += ['pyyaml',
'dashi',
'gevent>=0.13.7',
'pidantic',
'epu',
'apache-libcloud>=0.11.1',
'eeagent',
'ceiclient',
]
setupdict['tests_require'] = ['nose']
setupdict['test_suite'] = 'nose.collector'
setupdict['entry_points'] = {
'console_scripts': [
'epu-harness=epuharness.cli:main',
]
}
setupdict['package_data'] = {'epuharness': ['config/*.yml']}
setup(**setupdict)