-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
66 lines (57 loc) · 1.87 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
"""
Flask-Fixtures
--------------
A fixtures library for testing Flask apps.
"""
from __future__ import absolute_import
import os
import subprocess
from setuptools import setup
root_dir = os.path.abspath(os.path.dirname(__file__))
package_dir = os.path.join(root_dir, 'flask_fixtures')
# Try to get the long description from the README file or the module's
# docstring if the README isn't available.
try:
README = open(os.path.join(root_dir, 'README.rst')).read()
except:
README = __doc__
install_requires = [
'Flask',
'Flask-SQLAlchemy',
'six'
]
try:
import importlib
except ImportError:
install_requires.append('importlib')
setup(
name='Flask-Fixtures',
version='0.3.8',
url='https://github.com/croach/Flask-Fixtures',
license='MIT License',
author='Christopher Roach',
author_email='[email protected]',
maintainer='Christopher Roach',
maintainer_email='[email protected]',
description='A simple library for adding database fixtures for unit tests using nothing but JSON or YAML.',
long_description=README,
# py_modules=['flask_fixtures'],
# if you would be using a package instead use packages instead
# of py_modules:
install_requires=install_requires,
packages=['flask_fixtures'],
zip_safe=False,
include_package_data=True,
platforms='any',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing'
]
)