Skip to content

Commit 2fbd78a

Browse files
committed
Create setup file
1 parent 6ebb2ff commit 2fbd78a

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
__pycache__
2+
build
3+
dist
4+
*.egg-info
5+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Library to query Source and GoldSource servers. Rewrite of the
55

66
## Requirements
77

8-
Just Python 3.5+
8+
Python >=3.5, no external dependencies
99

1010
## API
1111

setup.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env python3
2+
3+
import setuptools
4+
5+
with open("README.md", "r") as readme:
6+
long_description = readme.read()
7+
8+
setuptools.setup(
9+
name="python-a2s",
10+
version="1.0.0",
11+
author="Gabriel Huber",
12+
author_email="[email protected]",
13+
description="Query Source and GoldSource servers for name, map, players and more.",
14+
long_description=long_description,
15+
long_description_content_type="text/markdown",
16+
url="https://github.com/Yepoleb/python-a2s",
17+
packages=["a2s"],
18+
license="MIT License",
19+
classifiers=[
20+
"Development Status :: 4 - Beta",
21+
"License :: OSI Approved :: MIT License",
22+
"Programming Language :: Python :: 3",
23+
"Operating System :: OS Independent",
24+
"Topic :: Games/Entertainment"
25+
],
26+
python_requires=">=3.5"
27+
)

0 commit comments

Comments
 (0)