-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
32 lines (26 loc) · 909 Bytes
/
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
import os
from setuptools import setup, find_packages
with open('README.md') as readme_file:
README = readme_file.read()
with open('HISTORY.md') as history_file:
HISTORY = history_file.read()
setup_args = dict(
name='pipeline_mermaid',
version=os.environ['PROJECT_VERSION'],
description='Useful tool to show Gitlab pipeline as mermaid',
long_description_content_type="text/markdown",
long_description=README + '\n\n' + HISTORY,
license='MIT',
packages=find_packages(),
author='Ivan Novikov',
author_email='spellh1@gmail.com',
keywords=['pipeline', 'mermaid', 'Gitlab'],
url='https://github.com/Nov1kov/pipeline_to_mermaid',
download_url='https://pypi.org/project/pipeline-mermaid/',
scripts=['pipeline-mermaid']
)
install_requires = [
'python-gitlab',
]
if __name__ == '__main__':
setup(**setup_args, install_requires=install_requires)