Changeset View
Changeset View
Standalone View
Standalone View
source/tools/lobbybots/setup.py
- This file was added.
#!/usr/bin/env python3 | |||||
"""setup.py for 0ad XMPP lobby bots.""" | |||||
user1: During one test there was a hitch where I had to copy stanzas.py and utils.py to my… | |||||
from setuptools import find_packages, setup | |||||
setup( | |||||
name='XpartaMuPP', | |||||
version='0.24', | |||||
description='Multiplayer lobby bots for 0ad', | |||||
packages=find_packages(), | |||||
entry_points={ | |||||
'console_scripts': [ | |||||
'echelon=xpartamupp.echelon:main', | |||||
'xpartamupp=xpartamupp.xpartamupp:main', | |||||
'echelon-db=xpartamupp.lobby_ranking:main', | |||||
] | |||||
}, | |||||
install_requires=[ | |||||
'dnspython', | |||||
'sleekxmpp', | |||||
'sqlalchemy', | |||||
], | |||||
Not Done Inline Actionsdupe of the txt above? bb: dupe of the txt above? | |||||
tests_require=[ | |||||
'coverage', | |||||
'hypothesis', | |||||
'parameterized', | |||||
], | |||||
classifiers=[ | |||||
'Development Status :: 3 - Alpha', | |||||
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)', | |||||
'Operating System :: OS Independent', | |||||
'Programming Language :: Python', | |||||
'Programming Language :: Python :: 3.4', | |||||
'Programming Language :: Python :: 3.5', | |||||
'Programming Language :: Python :: 3.6', | |||||
'Topic :: Games/Entertainment', | |||||
'Topic :: Internet :: XMPP', | |||||
], | |||||
zip_safe=False, | |||||
test_suite='tests', | |||||
) | |||||
Not Done Inline Actionshttps://setuptools.readthedocs.io/en/latest/userguide/commands.html?highlight=test_suite, seems to be deprecated already bb: https://setuptools.readthedocs.io/en/latest/userguide/commands.html?highlight=test_suite, seems… |
Wildfire Games · Phabricator
During one test there was a hitch where I had to copy stanzas.py and utils.py to my venv/lib/python-3.7/site-packagaes/XpartaMuPP-0.23-py3.7.egg/ folder.
During another test it worked fine. In the venv/lib/python-3.7/site-packagaes/ folder, there was a XpartaMuPP-link file instead of files in a folder. The -link file pointed to the folder it was installed from.