Skip to content

Commit

Permalink
add files for pip installation
Browse files Browse the repository at this point in the history
  • Loading branch information
sushant1212 committed Jun 25, 2023
1 parent 30e66ac commit 2c4333e
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include socnavgym/envs/utils/sngnnv2/example_model/*.prms
include socnavgym/envs/utils/sngnnv2/example_model/*.tch
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
42 changes: 42 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import os
import sys
from setuptools import find_packages, setup


sys.path.insert(0, os.path.join(os.path.dirname(__file__), "socnavgym"))

NAME = "socnavgym"
DESCRIPTION = "An environment for Social Navigation"
REPOSITORY = "https://github.com/gnns4hri/SocNavGym"
EMAIL = "[email protected]"
AUTHOR = "Sushant Swamy"
VERSION = "0.0.3"

with open("README.md", "r") as f:
LONG_DESCRIPTION = f.read()

REQUIRED = [
"gym >= 0.26.2",
"opencv-python",
"numpy",
"matplotlib",
"torch >= 1.12.1",
"shapely",
"dgl"
]
EXCLUDES=["environment_configs"]

setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
url=REPOSITORY,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
packages=find_packages(exclude=EXCLUDES),
install_requires=REQUIRED,
license="GPL-3",
include_package_data=True
)

0 comments on commit 2c4333e

Please sign in to comment.