FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab/setup.py at main · a-meynard/python-gitlab · GitHub
a-meynard
python-gitlab
Repository navigation
Code
Pull requests
Actions
Projects
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
57 lines (51 loc) · 1.84 KB
Breadcrumbs
python-gitlab
/
setup.py
Copy path
File metadata and controls
57 lines (51 loc) · 1.84 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/python
# -*- coding: utf-8 -*-
from
setuptools
import
find_packages
,
setup
def
get_version
()
->
str
:
version
=
""
with
open
(
"gitlab/_version.py"
,
"r"
,
encoding
=
"utf-8"
)
as
f
:
for
line
in
f
:
if
line
.
startswith
(
"__version__"
):
version
=
eval
(
line
.
split
(
"="
)[
-
1
])
break
return
version
with
open
(
"README.rst"
,
"r"
,
encoding
=
"utf-8"
)
as
f
:
readme
=
f
.
read
()
setup
(
name
=
"python-gitlab"
,
version
=
get_version
(),
description
=
"Interact with GitLab API"
,
long_description
=
readme
,
long_description_content_type
=
"text/x-rst"
,
author
=
"Gauvain Pocentek"
,
author_email
=
"gauvain@pocentek.net"
,
license
=
"LGPLv3"
,
url
=
"https://github.com/python-gitlab/python-gitlab"
,
packages
=
find_packages
(
exclude
=
[
"docs*"
,
"tests*"
]),
install_requires
=
[
"requests>=2.25.0"
,
"requests-toolbelt>=0.9.1"
],
package_data
=
{
"gitlab"
: [
"py.typed"
],
},
python_requires
=
">=3.7.0"
,
entry_points
=
{
"console_scripts"
: [
"gitlab = gitlab.cli:main"
]},
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"
,
"Programming Language :: Python"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3.7"
,
"Programming Language :: Python :: 3.8"
,
"Programming Language :: Python :: 3.9"
,
"Programming Language :: Python :: 3.10"
,
"Programming Language :: Python :: 3.11"
,
],
extras_require
=
{
"autocompletion"
: [
"argcomplete>=1.10.0,<3"
],
"yaml"
: [
"PyYaml>=5.2"
],
},
)
Back
|
FazBrowse Home
|
New Git URL