-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
61 lines (56 loc) · 2.02 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
56
57
58
59
60
61
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("autoleagueplay.version", "autoleagueplay/version.py")
paths = load_module("autoleagueplay.paths", "autoleagueplay/paths.py")
with open("README.md", "r") as readme_file:
long_description = readme_file.read()
setuptools.setup(
name='autoleagueplay',
packages=setuptools.find_packages(),
install_requires=[
'dataclasses',
'rlbot',
'rlbottraining>=0.5.1',
'docopt',
'requests',
'watchdog',
'google-api-python-client',
'google-auth-httplib2',
'google-auth-oauthlib',
'pywinauto',
],
python_requires='>=3.7.0',
version=version.__version__,
description='An automatic runner for RLBot league play.',
long_description=long_description,
long_description_content_type="text/markdown",
author='Eastvillage, DomNomNom, and the RLBot Community',
author_email='[email protected]',
url='https://github.com/NicEastvillage/AutoLeague',
keywords=['rocket-league', 'league-play'],
license='MIT License',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
],
entry_points={
# Allow people to run `autoleagueplay` instead of `python -m autoleagueplay`
'console_scripts': ['autoleagueplay = autoleagueplay.__main__:main']
},
package_data={
'autoleagueplay': [
'autoleagueplay/default_match_config.cfg',
'autoleagueplay/psyonix_allstar.cfg',
'autoleagueplay/psyonix_pro.cfg',
'autoleagueplay/psyonix_rookie.cfg'
]
},
include_package_data=True
)