-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
41 lines (38 loc) · 1.28 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
from distutils.core import setup
from setuptools.command.test import test as TestCommand
import sys
class Tox(TestCommand):
user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.tox_args = None
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import tox
import shlex
errno = tox.cmdline(args=shlex.split(self.tox_args))
sys.exit(errno)
setup(
name='cloudmanager',
version='0.9.2dev',
author='Hugo Peixoto',
author_email='[email protected]',
packages=['cloudmanager'],
scripts=[],
package_data={'cloudmanager':['schema.sql', '../migrations/*.py']},
url='https://github.com/super3/cloud-manager',
license='LICENSE.txt',
description='Manages a pool of files uploaded to "the cloud"',
long_description=open('README.md').read(),
install_requires=[
'psycopg2 >= 2.5',
'six',
],
dependency_links = ["https://github.com/Storj/plowshare-wrapper/tarball/master#egg=plowshare"],
tests_require=['tox'],
cmdclass = {'test': Tox},
)