-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (32 loc) · 841 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
from setuptools import setup, find_packages
requires = [
]
test_requires =[
"pytest"
]
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
pytest.main(self.test_args)
setup(name='block.chain',
version='0.0.0',
description='fmm..',
long_description="",
author='podhmo',
package_dir={'': '.'},
packages=find_packages('.'),
namespace_packages=["block"],
install_requires = requires,
cmdclass = {'test': PyTest},
tests_require=["pytest"],
extras_require = {
"testing": test_requires
},
entry_points = """
""",
)