-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
55 lines (51 loc) · 1.77 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
54
55
import setuptools
import importlib
# Avoid native import statements as we don't want to depend on the package being created yet.
def load_module(module_name, full_path):
spec = importlib.util.spec_from_file_location(module_name, full_path)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
return module
version = load_module("autoleague.version", "autoleague/version.py")
paths = load_module("autoleague.paths", "autoleague/paths.py")
with open("README.md", "r") as readme_file:
long_description = readme_file.read()
setuptools.setup(
name='autoleague',
packages=setuptools.find_packages(),
install_requires=[
'rlbot',
'rlbottraining>=0.3.0',
'docopt',
'trueskill',
'numpy',
'pywinauto',
'pypiwin32',
'requests',
],
python_requires='>=3.7.0',
version=version.__version__,
description='An automatic league-runner for Rocket League bots.',
long_description=long_description,
long_description_content_type="text/markdown",
author='DomNomNom and the RLBot Community',
author_email='[email protected]',
url='https://github.com/DomNomNom/AutoLeague',
keywords=['rocket-league', 'training', 'train'],
license='MIT License',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
],
entry_points={
# Allow people to run `autoleague` instead of `python -m autoleague`
'console_scripts': ['autoleague = autoleague.__main__:main']
},
package_data={
'autoleague': [
'autoleague/default_match_config.cfg',
'autoleague/website/additional_website_code/*',
]
},
)