forked from facebookresearch/BenchMARL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (37 loc) · 1.08 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
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
import os
from pathlib import Path
from setuptools import find_packages, setup
def package_files(directory):
paths = []
for path, _, filenames in os.walk(directory):
for filename in filenames:
paths.append(os.path.join("..", path, filename))
return paths
extra_files = package_files(
str(
Path(os.path.dirname(os.path.realpath(__file__)))
/ Path("benchmarl")
/ Path("conf")
)
)
setup(
name="benchmarl",
version="0.0.4",
description="BenchMARL",
url="https://github.com/facebookresearch/BenchMARL",
author="Matteo Bettini",
author_email="mb2389@cl.cam.ac.uk",
install_requires=["torchrl>=0.2.0", "tqdm", "hydra-core"],
extras_require={
"vmas": ["vmas>=1.2.10"],
"pettingzoo": ["pettingzoo[all]>=1.24.1"],
},
packages=find_packages(),
include_package_data=True,
package_data={"": extra_files},
)