-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
40 lines (37 loc) · 1.33 KB
/
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
33
34
35
36
37
38
39
40
from os.path import dirname, abspath, join
from setuptools import setup
NAME: str = "twitter-stream.py"
AUTHOR: str = "Saadman Rafat"
DESCRIPTION: str = "Python Client For Twitter Streaming API v2"
URL: str = "https://github.com/twitivity/twitter-stream.py"
REQUIRES_PYTHON: str = ">=3.6.0"
VERSION = "0.8.10"
REQUIRED = ["requests==2.25.0", "requests-oauthlib==1.3.0", "PyYAML==5.4.1"]
EMAIL = "[email protected]"
with open(join(abspath(dirname(__file__)), "README.md"), encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
setup(
name=NAME,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
license="MIT",
install_requires=REQUIRED,
include_package_data=True,
py_modules=["twitter_stream"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
)