-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
48 lines (42 loc) · 1.2 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['-s']
self.test_suite = True
def run_tests(self):
import pytest
pytest.main(self.test_args)
requires = [
'six>=1.9.0',
'voluptuous>=0.8.7',
'typedtuple>=0.1.0',
]
setup(
name='hieratic',
version='0.0.7',
description='hierarchical resource implementation.',
author='Satoshi Ebihara',
author_email='[email protected]',
url='https://github.com/succhiello/hieratic',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
],
packages=find_packages(),
install_requires=requires,
tests_require=['pytest'],
cmdclass={'test': PyTest},
entry_points={
'hieratic.engine': [
'memory = hieratic.engine.memory',
],
},
)