-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
78 lines (67 loc) · 1.8 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# -*- coding: utf-8 -*-
import os
from setuptools import Command
from setuptools import setup
from setuptools import find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
# register test method to a module...
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
#errno = subprocess.call([sys.executable, 'runtests.py', 'src'])
errno = subprocess.call([sys.executable, 'test.sh'])
raise SystemExit(errno)
setup(name='scads',
version='0.1',
description='Scalable Data Structures',
long_description=read('docs/index.rst'),
classifiers=[
"Programming Language :: Python",
],
keywords='',
author='Daniel Kraft',
author_email='daniel.kraft@d9t.de',
url='http://d9t.de/',
license='GPLv3',
packages=find_packages('src'),
package_dir={'': 'src'},
#test_suite='website.tests',
cmdclass={'test': PyTest},
install_requires=[
#'setuptools',
'riak',
'riak_pb',
'protobuf',
#'docopt',
'passlib',
#'mock',
'nose',
'nose-selecttests',
#'coverage',
#'unittest2',
#'setuptools-flakes',
#'pep8',
#'webtest',
#'wsgi_intercept',
#'mechanize',
#'zope.testbrowser',
#'mock',
'pytest',
'pytest-cov',
'pytest-pep8',
'Sphinx',
],
#entry_points="""\
#[console_scripts]
#riak_shell = website.scripts.riak_shell:main
#""",
include_package_data=True,
zip_safe=False,
)