forked from python-gitlab/python-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (22 loc) · 654 Bytes
/
setup.py
File metadata and controls
25 lines (22 loc) · 654 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
#!/usr/bin/python
# -*- coding: utf-8 -*-
from distutils.core import setup
def get_version():
f = open('gitlab.py')
try:
for line in f:
if line.startswith('__version__'):
return eval(line.split('=')[-1])
finally:
f.close()
setup(name='python-gitlab',
version=get_version(),
description='Interact with GitLab API',
long_description='Interact with GitLab API',
author='Gauvain Pocentek',
author_email='gauvain@pocentek.net',
license='LGPLv3',
url='https://github.com/gpocentek/python-gitlab',
py_modules=['gitlab'],
scripts=['gitlab']
)