FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-cloudflare/setup.py at master · codefusser/python-cloudflare · GitHub
codefusser
/
python-cloudflare
Public
forked from
cloudflare/python-cloudflare
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-cloudflare
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
65 lines (57 loc) · 2.31 KB
Breadcrumbs
python-cloudflare
/
setup.py
Copy path
File metadata and controls
executable file
·
65 lines (57 loc) · 2.31 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
58
59
60
61
62
63
64
65
#!/usr/bin/env python
"""Cloudflare API code - setup.py file"""
import
re
from
setuptools
import
setup
_version_re
=
re
.
compile
(
r"__version__\s=\s'(.*)'"
)
def
main
():
"""Cloudflare API code - setup.py file"""
with
open
(
'README.md'
,
encoding
=
"utf-8"
)
as
read_me
:
long_description
=
read_me
.
read
()
with
open
(
'CloudFlare/__init__.py'
,
'r'
)
as
f
:
version
=
_version_re
.
search
(
f
.
read
()).
group
(
1
)
setup
(
name
=
'cloudflare'
,
version
=
version
,
description
=
'Python wrapper for the Cloudflare v4 API'
,
long_description
=
long_description
,
long_description_content_type
=
'text/markdown'
,
author
=
'Martin J. Levy'
,
author_email
=
'mahtin@mahtin.com'
,
url
=
'https://github.com/cloudflare/python-cloudflare'
,
project_urls
=
{
"Documentation"
:
"https://python-cloudflare.readthedocs.io/"
,
"API Documentaton"
:
"https://developers.cloudflare.com/api/"
,
"Source Code"
:
"https://github.com/cloudflare/python-cloudflare"
,
},
license
=
'MIT'
,
options
=
{
"bdist_wheel"
: {
"universal"
:
True
}},
packages
=
[
'CloudFlare'
,
'CloudFlare/tests'
,
'cli4'
,
'examples'
],
test_suite
=
"CloudFlare.tests"
,
include_package_data
=
True
,
data_files
=
[(
'share/man/man1'
, [
'cli4/cli4.1'
])],
install_requires
=
[
'requests'
,
'pyyaml'
,
'jsonlines'
],
keywords
=
'cloudflare'
,
entry_points
=
{
'console_scripts'
: [
'cli4=cli4.__main__:main'
]
},
python_requires
=
'>3.6.0'
,
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Intended Audience :: Developers'
,
'Topic :: Software Development :: Libraries :: Python Modules'
,
'License :: OSI Approved :: MIT License'
,
'Programming Language :: Python'
,
'Programming Language :: Python :: 3'
,
'Programming Language :: Python :: 3.6'
,
'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'
,
'Programming Language :: Python :: 3 :: Only'
,
]
)
if
__name__
==
'__main__'
:
main
()
Back
|
FazBrowse Home
|
New Git URL