forked from olijeffers0n/rustplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (34 loc) · 1.07 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
from setuptools import setup, find_packages
version = ""
with open("./rustplus/__init__.py") as input_file:
for line in input_file.readlines():
if line.startswith("__version__"):
version = line.strip("__version__ =").strip().strip('"')
break
with open("README.md", errors='ignore') as input_file:
readme = input_file.read()
setup(
name='rustplus',
author='olijeffers0n',
author_email='[email protected]',
url='https://github.com/olijeffers0n/rustplus',
project_urls={
"Issue tracker": "https://github.com/olijeffers0n/rustplus/issues",
},
version=version,
include_package_data=True,
packages=find_packages(include=['rustplus', 'rustplus.*']),
license='MIT',
description='A python wrapper for the Rust Plus API',
long_description=readme,
long_description_content_type='text/markdown',
install_requires=[
"websocket_client",
"Pillow",
"protobuf>=3.18.1",
"asyncio",
"push_receiver",
"http-ece"
],
python_requires='>=3.7.0',
)