-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (51 loc) · 1.78 KB
/
setup.py
File metadata and controls
57 lines (51 loc) · 1.78 KB
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
from setuptools import setup, find_packages
from reversion import __version__
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {
"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
"update_catalog": babel.update_catalog,
}
except ImportError:
cmdclass = {}
def read(filepath):
with open(filepath, "r", encoding="utf-8") as f:
return f.read()
setup(
name="django-reversion-pynamodb",
version='.'.join(str(x) for x in __version__),
license="BSD",
description="An extension to the Django web framework that provides version control for model instances.",
long_description=read('README.rst'),
author="Dave Hall,Lubos Matl",
author_email="dave@etianen.com, matllubos@gmail.com",
url="http://github.com/druids/django-reversion-pynamodb",
zip_safe=False,
packages=find_packages(),
package_data={
"reversion": ["locale/*/LC_MESSAGES/django.*", "templates/reversion/*.html"]},
cmdclass=cmdclass,
install_requires=[
"django>=2.2<4",
"import_string>=0.1.0",
],
extras_require={
'dynamodb': ['pydjamodb>=0.0.10', 'pynamodb>=5.3.4'],
},
python_requires='>=3.6',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
"Framework :: Django",
]
)