-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
59 lines (54 loc) · 1.94 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
from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'PyPI_README.md'), encoding='utf-8') as f:
long_description = f.read()
about = {}
with open(path.join(here, 'flask_dj', '__project_info__.py')) as f:
exec(f.read(), about)
packages = ["flask_dj"]
requirements = [
'waitress>=1.4.3',
'flask>=1.1.1',
'Flask-Migrate>=2.5.2',
'Flask-Script>=2.0.6',
'Flask-SQLAlchemy>=2.4.1',
'WTForms>=2.2.1',
'SQLAlchemy>=1.3.13',
'Flask-WTF>=0.14.3',
'Flask-Login>=0.5.0'
]
setup(
name=about["__title__"], # Required
version=about["__version__"], # Required
description=about["__description__"], # Optional
long_description=long_description, # Optional
long_description_content_type='text/markdown', # Optional (see note above)
url='https://github.com/AlexandrovRoman/Flask-DJ', # Optional
author=about["__author__"], # Optional
author_email=about["__author_email__"], # Optional
classifiers=[ # Optional
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
f'License :: OSI Approved :: {about["__license__"]}',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords=about["__keywords__"], # Optional
packages=packages, # Required
install_requires=requirements,
entry_points={
'console_scripts': [
'flask-dj = flask_dj:command',
],
},
project_urls={
"Source": "https://github.com/AlexandrovRoman/Flask-DJ",
"Docs": "https://flask-dj.readthedocs.io/en/latest/"
}
)