-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
35 lines (32 loc) · 1.1 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
import setuptools
import re, io
with open("README.md", "r") as fh:
long_description = fh.read()
# get version from package's __version__
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too
io.open('miney/__init__.py', encoding='utf_8_sig').read()
).group(1)
setuptools.setup(
name="miney",
version=__version__,
author="Robert Lieback",
author_email="[email protected]",
description="The python interface to minetest",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/miney-py/miney",
project_urls={
"Documentation": "https://miney.readthedocs.io"
},
packages=["miney"],
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Topic :: Games/Entertainment"
],
python_requires='>=3.6',
)