This repository has been archived by the owner on Nov 6, 2023. It is now read-only.
forked from robotlearn/pyrobolearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·49 lines (45 loc) · 1.93 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
# -*- coding: utf-8 -*-
# Once in the pyrobolearn folder, type one of the following command:
# $ pip install -e .
# $ pip install --user -e .
# $ python setup.py install
# $ python setup.py install --home=<dir>
from setuptools import setup, find_packages
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
# get description from readme file
with open('README.rst', 'r') as f:
long_description = f.read()
# get the required packages
install_requires = parse_requirements('requirements.txt', session=False)
reqs = [str(ir.req) for ir in install_requires]
# setup
setup(
name='pyrobolearn',
version='0.1.0',
description='A Python framework for roboticists and machine learning practitioners',
long_description = long_description,
long_description_content_type="text/markdown",
author='Brian Delhaisse',
author_email='briandelhaisse@gmail.com',
maintainer='Brian Delhaisse',
maintainer_email='briandelhaisse@gmail.com',
license='GNU GPLv3',
url='https://github.com/robotlearn/pyrobolearn',
platforms=['Linux Ubuntu'],
# python_requires='==2.7.*',
# packages=['', 'worlds', 'robots', 'tools', 'pso', 'envs', 'algos', 'optim', 'tasks', 'tools.vr', 'tools.vr.htc', 'tools.vr.oculus',
# 'tools.bci', 'tools.audio', 'tools.camera', 'tools.game_controllers', 'utils', 'utils.data_structures',
# 'models', 'robots', 'robots.ros', 'robots.ros.coman', 'robots.ros.walkman', 'filters',
# 'metrics', 'rl', 'mechanics', 'objectives', 'experiments', 'exploration'],
packages=find_packages(), #find_packages(exclude=('tests',))
install_requires=reqs,
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
],
)