-
-
Notifications
You must be signed in to change notification settings - Fork 249
/
Copy pathsetup.py
32 lines (27 loc) · 767 Bytes
/
setup.py
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
import re
from setuptools import setup
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
with open('./twikit/__init__.py') as f:
version = re.findall(r"__version__ = '(.+)'", f.read())[0]
setup(
name='twikit',
version=version,
install_requires=[
'httpx[socks]',
'filetype',
'beautifulsoup4',
'pyotp',
'lxml',
'webvtt-py',
'm3u8',
'Js2Py-3.13'
],
python_requires='>=3.8',
description='Twitter API wrapper for python with **no API key required**.',
long_description=long_description,
long_description_content_type='text/markdown',
license='MIT',
url='https://github.com/d60/twikit',
package_data={'twikit': ['py.typed']}
)