FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab/setup.py at master · lazymike/python-gitlab · GitHub
lazymike
python-gitlab
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-gitlab
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (32 loc) · 1.05 KB
Breadcrumbs
python-gitlab
/
setup.py
Copy path
File metadata and controls
35 lines (32 loc) · 1.05 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#!/usr/bin/python
# -*- coding: utf-8 -*-
from
setuptools
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'
],
install_requires
=
[
'requests'
],
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Environment :: Console'
,
'Intended Audience :: System Administrators'
,
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)'
,
'Natural Language :: English'
,
'Operating System :: POSIX'
,
'Operating System :: Microsoft :: Windows'
]
)
Back
|
FazBrowse Home
|
New Git URL