forked from model-bakers/model_bakery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·43 lines (40 loc) · 1.58 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
from os.path import abspath, dirname, join
import setuptools
about: dict = {}
here = abspath(dirname(__file__))
with open(join(here, "model_bakery", "__about__.py")) as f: # type: ignore
exec(f.read(), about)
setuptools.setup(
name="model_bakery",
version=about["__version__"],
author=about["__author__"],
author_email=about["__email__"],
url=about["__url__"],
license=about["__license__"],
packages=["model_bakery"],
include_package_data=True, # declarations in MANIFEST.in
package_data={"model_bakery": ["py.typed"]},
install_requires=open(join(here, "requirements.txt")).readlines(),
description="Smart object creation facility for Django.",
long_description=open(join(dirname(__file__), "README.md")).read(),
long_description_content_type="text/markdown",
keywords="django testing factory python",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)