forked from dmytrostriletskyi/threads-net
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
41 lines (36 loc) · 1.43 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
"""
Setup the package.
"""
from setuptools import find_packages, setup
with open('README.md', 'r', encoding='utf-8') as read_me:
long_description = read_me.read()
with open('requirements/project.txt', 'r') as f:
requirements = f.read().splitlines()
with open('.project-version', 'r') as project_version_file:
project_version = project_version_file.read().strip()
setup(
version=project_version,
name='threads-net',
description='Unofficial and reverse-engineered Threads (threads.net) Python API wrapper. Supports read and write capabilities',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/dmytrostriletskyi/threads-net',
project_urls={
'Issue Tracker': 'https://github.com/dmytrostriletskyi/threads-net/issues',
'Source Code': 'https://github.com/dmytrostriletskyi/threads-net',
'Download': 'https://github.com/dmytrostriletskyi/threads-net/tags',
},
license='MIT',
author='Dmytro Striletskyi',
author_email='dmytro.striletskyi@gmail.com',
packages=find_packages(),
install_requires=requirements,
classifiers=[
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
)