-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
46 lines (38 loc) · 1.09 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
import os.path
from setuptools import setup, find_packages
package_dir = "src"
about = {}
with open(os.path.join(package_dir, "imageserver", "__about__.py")) as fp:
exec(fp.read(), about)
setup(
name=about["__tag__"],
version=about["__version__"],
description=about["__title__"] + ' - ' + about["__summary__"],
long_description=about["__description__"],
url=about["__uri__"],
download_url=about["__source_uri__"],
license=about["__license__"],
platforms=about["__platforms__"],
author=about["__author__"],
author_email=about["__email__"],
package_dir={"": package_dir},
packages=find_packages(package_dir, exclude=["tests", "tests.*"]),
test_suite="tests",
install_requires=[
"Pillow>=8,<9",
"itsdangerous<1",
"werkzeug>=1.0.0,<1.1",
"Flask==1.0.2",
"python-ldap==3.1.0",
"pylibmc==1.5.2",
"psycopg2==2.7.5",
"SQLAlchemy==1.2.8",
"requests>=2.20,<3",
"psutil==5.6.6",
"markdown==2.6.11"
],
tests_require=[
"coverage",
"flake8"
],
)