-
Notifications
You must be signed in to change notification settings - Fork 38
/
setup.py
35 lines (32 loc) · 1.14 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
import sys
import os
from setuptools import setup, find_packages
setup(
name='luxai2021',
version='0.1.0',
author='Geoff McDonald',
author_email='[email protected]',
packages=find_packages(exclude=['tests*']),
url='http://pypi.python.org/pypi/luxai2021/',
license='MIT',
description='Matching python environment code for Lux AI 2021 Kaggle competition and a gym interface for RL models',
long_description=open('README.md').read(),
install_requires=[
"pytest",
"stable_baselines3==1.2.1a2",
"numpy",
"tensorboard",
"gym==0.19.0"
],
package_data={'luxai2021': ['game/game_constants.json', 'env/rng/rng.js', 'env/rng/seedrandom.js']},
test_suite='nose2.collector.collector',
tests_require=['nose2'],
)
if sys.version_info < (3,7) or sys.version_info >= (3,8):
os.system("")
class style():
YELLOW = '\033[93m'
version = str(sys.version_info.major) + "." + str(sys.version_info.minor)
message = f'/!\ Warning, python{version} detected, you will need to use python3.7 to submit to kaggle.'
message = style.YELLOW + message
print(message)