-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathsetup.py
executable file
·53 lines (49 loc) · 1.24 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
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/env python3
# encoding: utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import re
with open('kxg/__init__.py') as file:
version_pattern = re.compile("__version__ = '(.*)'")
version = version_pattern.search(file.read()).group(1)
with open('README.rst') as file:
readme = file.read()
setup(
name='kxg',
version=version,
author='Kale Kundert and Alex Mitchell',
author_email='kale@thekunderts.net',
description='A multiplayer game engine.',
long_description=readme,
url='https://github.com/kxgames/kxg',
packages=[
'kxg',
],
include_package_data=True,
install_requires=[
'pyglet',
'nonstdlib',
'linersock',
'docopt',
],
extras_require={
'docs': [
'autoclasstoc',
],
},
license='MIT',
zip_safe=False,
keywords=[
'kxg',
],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries',
],
)