forked from Robert904/pymumble
-
Notifications
You must be signed in to change notification settings - Fork 62
/
setup.py
38 lines (33 loc) · 1.18 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
from setuptools import setup, find_packages
with open("pymumble_py3/constants.py") as f:
tp = f.readline()
version_from_constant = "0"
while tp:
if "PYMUMBLE_VERSION" in tp:
version_from_constant = tp.split('=')[1].strip().replace('"', '')
break
tp = f.readline()
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt") as f:
requirements = f.read().splitlines()
setup(
name="pymumble",
version=version_from_constant,
author='Azlux',
author_email='github@azlux.fr',
description="Mumble library used for multiple uses like making mumble bot.",
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/azlux/pymumble',
license='GPLv3',
packages=find_packages(),
install_requires=requirements,
include_package_data=True,
classifiers=["Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
data_files=[('', ['LICENSE', 'requirements.txt', 'API.md'])],
)