forked from croach/Flask-Fixtures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (54 loc) · 1.88 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
"""
Flask-YAML-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", "PyYAML>5.1"]
try:
import importlib
except ImportError:
install_requires.append("importlib")
setup(
name="Flask-YAML-Fixtures",
version="0.5.1",
url="https://github.com/mzulqarnain1/Flask-YAML-Fixtures",
license="MIT License",
author="M. Zulqarnain",
author_email="[email protected]",
maintainer="M. Zulqarnain",
maintainer_email="[email protected]",
description="A simple library for adding database fixtures for unit tests using nothing but JSON or YAML.",
long_description=README,
long_description_content_type="text/x-rst",
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 :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Framework :: Flask",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
],
)