forked from abhiabhi94/django-flag-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (47 loc) · 1.73 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
import os
import setuptools
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
def get_description():
with open(os.path.join(BASE_DIR, 'README.rst')) as fh:
description = fh.read().strip()
return description
def get_version():
with open(os.path.join(BASE_DIR, 'VERSION')) as version_file:
version = version_file.read().strip()
return version
setuptools.setup(
name='django-flag-app',
version=get_version(),
author='Abhyudai',
author_email='',
description='A pluggable django application that adds the ability for users to flag(or report) your models',
long_description=get_description(),
url='https://github.com/abhiabhi94/django-flag-app',
project_urls={
'Documentation': 'https://django-flag-app.readthedocs.io',
'Source Code': 'https://github.com/abhiabhi94/django-flag-app',
},
packages=setuptools.find_packages(exclude=['docs', 'test*']),
include_package_data=True,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
python_requires='>=3.6',
install_requires=['django'],
keywords='django flag report',
zip_safe=False,
)