-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
34 lines (29 loc) · 1.08 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
import os
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
version = '0.2.1'
# If a tagged commit, don't make a pre-release
if 'CI_COMMIT_TAG' not in os.environ:
version = f"{ version }.dev{ os.getenv('CI_PIPELINE_ID') or None }"
setup(
name="flask-reverse-proxy-fix",
version=version,
author="British Antarctic Survey",
author_email="webapps@bas.ac.uk",
description="Python Flask middleware for applications running under a reverse proxy",
long_description=long_description,
long_description_content_type="text/markdown",
url="/~https://github.com/antarctica/flask-reverse-proxy-fix",
license='Open Government Licence v3.0',
install_requires=['flask'],
packages=find_packages(exclude=['tests']),
classifiers=[
"Programming Language :: Python :: 3",
"Framework :: Flask",
"Development Status :: 5 - Production/Stable",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Intended Audience :: Developers"
],
)