-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (47 loc) · 1.59 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
from setuptools import setup
from setuptools.command.test import test as TestCommand
from os import path
class PyTest(TestCommand):
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 pytest
raise SystemExit(pytest.main(self.test_args))
setup(
name='Flask-Pushrod',
version='0.2.dev',
url='http://github.com/dontcare4free/flask-pushrod',
license='MIT',
author='Nullable',
author_email='[email protected]',
description='An API microframework based on the idea of that the UI is just yet another API endpoint',
long_description=open(path.join(path.dirname(path.abspath(__file__)), 'README.rst')).read(),
packages=['flask_pushrod', 'flask_pushrod.renderers'],
zip_safe=False,
platforms='any',
install_requires=[
'Werkzeug>=0.7',
'Flask>=0.9',
],
tests_require=[
'pytest>=2.2.4',
'nose>=1.2.1',
# For example
'sqlalchemy>=0.7.9',
'flask-sqlalchemy>=0.16',
],
cmdclass={'test': PyTest},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)