-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (33 loc) · 1.14 KB
/
setup.py
File metadata and controls
39 lines (33 loc) · 1.14 KB
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
# coding: utf-8
import codecs
import os
from setuptools import setup, find_packages
NAME = "rest-msg"
VERSION = "1.{}".format(os.getenv('BUILD_NUMBER', '0'))
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = ['connexion', 'connexion[swagger-ui]', 'Flask-CORS', 'Flask-SQLAlchemy',
'python-dotenv', 'python_dateutil', 'gunicorn', 'psycopg2']
this_directory = os.path.abspath(os.path.dirname(__file__))
setup(
name=NAME,
version=VERSION,
description="Maintenance",
author="Maria Prudyvus",
author_email="maria.prudyvus@curs.ru",
url="https://artifactory.corchestra.ru/artifactory/course-med/rest-msg/",
keywords=["Swagger", "Maintenance"],
install_requires=REQUIRES,
packages=find_packages(),
package_data={'swagger': ['swagger_server/swagger/swagger.yaml']},
include_package_data=True,
entry_points={
'console_scripts': ['swagger_server=swagger_server.__main__:main']},
long_description="""\
Сервер для публикации профилактических работ
"""
)