mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

Without this running blockchaindb yields: Traceback (most recent call last): File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.4/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/lib/python3.4/trace.py", line 858, in <module> main() File "/usr/lib/python3.4/trace.py", line 804, in main t.runctx(code, globs, globs) File "/usr/lib/python3.4/trace.py", line 510, in runctx exec(cmd, globals, locals) File "/usr/local/bin/bigchaindb", line 9, in <module> load_entry_point('BigchainDB==0.1.4', 'console_scripts', 'bigchaindb')() File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 549, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 2542, in load_entry_point return ep.load() File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 2202, in load return self.resolve() File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 2208, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python3.4/dist-packages/BigchainDB-0.1.4-py3.4.egg/bigchaindb/commands/bigchain.py", line 14, in <module> from bigchaindb.processes import Processes File "/usr/local/lib/python3.4/dist-packages/BigchainDB-0.1.4-py3.4.egg/bigchaindb/processes.py", line 9, in <module> from bigchaindb.web import server ImportError: No module named 'bigchaindb.web'
88 lines
2.2 KiB
Python
88 lines
2.2 KiB
Python
"""
|
|
BigchainDB: A Scalable Blockchain Database
|
|
|
|
For full docs visit https://bigchaindb.readthedocs.org
|
|
|
|
"""
|
|
from setuptools import setup
|
|
|
|
tests_require = [
|
|
'pytest',
|
|
'coverage',
|
|
'pep8',
|
|
'pyflakes',
|
|
'pylint',
|
|
'pytest',
|
|
'pytest-cov',
|
|
'pytest-xdist',
|
|
'pytest-flask',
|
|
]
|
|
|
|
dev_require = [
|
|
'ipdb',
|
|
'ipython',
|
|
]
|
|
|
|
docs_require = [
|
|
'recommonmark>=0.4.0',
|
|
'Sphinx>=1.3.5',
|
|
'sphinxcontrib-napoleon>=0.4.4',
|
|
'sphinx-rtd-theme>=0.1.9',
|
|
]
|
|
|
|
setup(
|
|
name='BigchainDB',
|
|
version='0.1.4',
|
|
description='BigchainDB: A Scalable Blockchain Database',
|
|
long_description=__doc__,
|
|
url='https://github.com/BigchainDB/bigchaindb/',
|
|
author='BigchainDB Contributors',
|
|
author_email='dev@bigchaindb.com',
|
|
license='AGPLv3',
|
|
zip_safe=False,
|
|
|
|
classifiers=[
|
|
'Development Status :: 3 - Alpha',
|
|
'Intended Audience :: Developers',
|
|
'Topic :: Database',
|
|
'Topic :: Database :: Database Engines/Servers',
|
|
'Topic :: Software Development',
|
|
'Natural Language :: English',
|
|
'License :: OSI Approved :: GNU Affero General Public License v3',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Operating System :: MacOS :: MacOS X',
|
|
'Operating System :: POSIX :: Linux',
|
|
],
|
|
|
|
packages=['bigchaindb', 'bigchaindb.commands', 'bigchaindb.db', 'bigchaindb.web'],
|
|
|
|
entry_points={
|
|
'console_scripts': [
|
|
'bigchaindb=bigchaindb.commands.bigchain:main',
|
|
'bigchaindb-benchmark=bigchaindb.commands.bigchain_benchmark:main'
|
|
],
|
|
},
|
|
install_requires=[
|
|
'rethinkdb==2.2.0.post4',
|
|
'pysha3==0.3',
|
|
'pytz==2015.7',
|
|
'cryptography==1.2.1',
|
|
'statsd==3.2.1',
|
|
'python-rapidjson==0.0.6',
|
|
'logstats==0.2.1',
|
|
'base58==0.2.2',
|
|
'bitcoin==1.1.42',
|
|
'flask==0.10.1',
|
|
'requests==2.9',
|
|
],
|
|
setup_requires=['pytest-runner'],
|
|
tests_require=tests_require,
|
|
extras_require={
|
|
'test': tests_require,
|
|
'dev': dev_require + tests_require + docs_require,
|
|
'docs': docs_require,
|
|
},
|
|
)
|