-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
55 lines (51 loc) · 1.59 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
from setuptools import setup
with open("README.md", "r", encoding="utf-8") as file:
long_description = file.read()
# version.py defines the VERSION and VERSION_SHORT variables.
# We use exec here so we don't import cached_path whilst setting up.
VERSION = {} # type: ignore
with open("tiktok_hashtag_analysis/version.py", "r") as version_file:
exec(version_file.read(), VERSION)
setup(
name="tiktok-hashtag-analysis",
version=VERSION["VERSION"],
author="Bellingcat",
author_email="[email protected]",
packages=["tiktok_hashtag_analysis"],
description="Analyze hashtags within posts scraped from TikTok",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/bellingcat/tiktok-hashtag-analysis",
license="MIT License",
install_requires=[
"seaborn",
"matplotlib",
"TikTokApi",
"requests",
"yt_dlp",
"tenacity",
"msvc-runtime; os_name=='nt'",
],
extras_require={
"dev": [
"pytest",
"pytest-cov",
"pytest-html",
"pytest-metadata",
"black",
"mypy",
]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
],
entry_points={
"console_scripts": [
"tiktok-hashtag-analysis=tiktok_hashtag_analysis.cli:main",
]
},
)