forked from proroklab/VectorizedMultiAgentSimulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (26 loc) · 932 Bytes
/
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
# Copyright (c) 2022-2024.
# ProrokLab (https://www.proroklab.org/)
# All rights reserved.
import pathlib
from setuptools import find_packages, setup
def get_version():
"""Gets the vmas version."""
path = CWD / "vmas" / "__init__.py"
content = path.read_text()
for line in content.splitlines():
if line.startswith("__version__"):
return line.strip().split()[-1].strip().strip('"')
raise RuntimeError("bad version data in __init__.py")
CWD = pathlib.Path(__file__).absolute().parent
setup(
name="vmas",
version=get_version(),
description="Vectorized Multi-Agent Simulator",
url="https://github.com/proroklab/VectorizedMultiAgentSimulator",
license="GPLv3",
author="Matteo Bettini",
author_email="[email protected]",
packages=find_packages(),
install_requires=["numpy", "torch", "pyglet<=1.5.27", "gym", "six"],
include_package_data=True,
)