forked from willnode/create-flask-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (39 loc) · 1.32 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
import glob
import setuptools
from os.path import basename, splitext
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
setuptools.setup(
name="createflaskapp",
version="1.2",
license="MIT",
author="Ivan Sakal",
author_email="[email protected]",
description="Package for initializing a flask project structure",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/isakal/create-flask-app",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
package_dir={"": "src"},
packages=setuptools.find_packages("src"),
py_modules=[splitext(basename(path))[0] for path in glob.glob('src/*.py')],
include_package_data=True,
# package_data={"": [".flake8"]},
install_requires=[
"Click>=7",
"animation>=0.0.6",
"termcolor>=1.1.0"
],
entry_points={
"console_scripts": ["create-flask-app=create_flask_app.cli:create_project"]
}
)