-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (45 loc) · 1.5 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
from setuptools import setup, find_packages
import codecs
import os
here = os.path.abspath(os.path.dirname(__file__))
requirements_filename = os.path.join(here, 'requirements.txt')
print(requirements_filename)
readme_filename = os.path.join(here, 'README.md')
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
with open(requirements_filename) as f:
# INSTALL_REQUIRES = [str(line[:-1]) for line in f]
INSTALL_REQUIRES = [
'requests',
'pydantic==1.10.4',
'phonenumbers',
'email-validator',
'ipaddress',
'pydantic[dotenv]'
]
VERSION = '0.1.10'
DESCRIPTION = 'Python wrapper for the TikTok Events API'
LONG_DESCRIPTION = long_description
PACKAGE_LICENSE = 'LICENSE.txt'
# Setting up
setup(
name="pytt_events_api",
version=VERSION,
license=PACKAGE_LICENSE,
author="Victor Valar",
author_email="<valar@victorvalar.me>",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
keywords=['python', 'tiktok', 'events', 'api', 'tiktok ads', 'tiktok events api'],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
)