FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
twitter_openapi_python/twitter_openapi_python/setup.py at master · yebin-xu/twitter_openapi_python · GitHub
yebin-xu
/
twitter_openapi_python
Public
forked from
fa0311/twitter_openapi_python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
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
twitter_openapi_python
/
twitter_openapi_python
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
44 lines (37 loc) · 1.19 KB
Breadcrumbs
twitter_openapi_python
/
twitter_openapi_python
/
setup.py
Copy path
File metadata and controls
44 lines (37 loc) · 1.19 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
# coding: utf-8
import
re
from
setuptools
import
find_packages
,
setup
NAME
=
"twitter_openapi_python"
VERSION
=
"0.0.41"
PYTHON_REQUIRES
=
">=3.7"
REQUIRES
=
[
"twitter_openapi_python_generated == 0.0.33"
,
"pydantic >= 2.6"
,
"urllib3 >= 2.1.0, < 3.0.0"
,
"xclienttransaction >= 1.0.0, < 2.0.0"
]
GITHUB_RAW_URL
=
(
"https://raw.githubusercontent.com/fa0311/twitter_openapi_python/refs/heads/master/twitter_openapi_python/"
)
def
image_replace
(
text
:
str
,
url
:
str
):
return
re
.
sub
(
r"!\[(.*?)\]\((.*?)\)"
,
r""
,
text
,
)
setup
(
name
=
NAME
,
version
=
VERSION
,
description
=
"Twitter OpenAPI"
,
author
=
"fa0311"
,
author_email
=
"yuki@yuki0311.com"
,
url
=
"https://github.com/fa0311/twitter_openapi_python"
,
keywords
=
[
"OpenAPI"
,
"OpenAPI-Generator"
,
"Twitter OpenAPI"
],
install_requires
=
REQUIRES
,
packages
=
find_packages
(
exclude
=
[
"test"
,
"tests"
]),
include_package_data
=
True
,
license
=
"proprietary or AGPL-3.0-or-later"
,
long_description_content_type
=
"text/markdown"
,
long_description
=
image_replace
(
open
(
"README.md"
).
read
(),
GITHUB_RAW_URL
),
package_data
=
{
"twitter_openapi_python"
: [
"py.typed"
]},
)
Back
|
FazBrowse Home
|
New Git URL