-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (20 loc) · 758 Bytes
/
setup.py
File metadata and controls
27 lines (20 loc) · 758 Bytes
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
import glob
import os
from setuptools import find_packages, setup
with open("README.md") as f:
LONG_DESCRIPTION = f.read()
PACKAGE_DATA = [p[8:] for p in glob.glob("netviel/js/**/*", recursive=True)]
PACKAGE_DATA = [f for f in PACKAGE_DATA if os.path.isfile(os.path.join("netviel", f))]
setup(
name="netviel",
version="0.2.1",
author="David M. Straub <straub@protonmail.com>",
author_email="straub@protonmail.com",
url="https://github.com/DavidMStraub/netviel",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(),
package_data={"netviel": PACKAGE_DATA},
install_requires=["flask>=2.1.0", "flask-cors", "flask-restful", "bleach"],
)