-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
35 lines (33 loc) · 1.1 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
# -*- coding: utf-8 -*-
# Copyright (C) 2012-2014 MUJIN Inc
from distutils.core import setup
try:
from mujincommon.setuptools import Distribution
except (ImportError, SyntaxError):
from distutils.dist import Distribution
version = {}
exec(open('python/mujinplanningclient/version.py').read(), version)
setup(
distclass=Distribution,
name='mujinplanningclient',
version=version['__version__'],
packages=['mujinplanningclient'],
package_dir={'mujinplanningclient': 'python/mujinplanningclient'},
data_files=[
# using scripts= will cause the first line of the script being modified for python2 or python3
# put the scripts in data_files will copy them as-is
('bin', [
'bin/mujin_planningclientpy_runshell.py',
]),
],
locale_dir='locale',
license='Apache License, Version 2.0',
long_description=open('README.md').read(),
# flake8 compliance configuration
enable_flake8=True, # Enable checks
fail_on_flake=True, # Fail builds when checks fail
install_requires=[
'pyzmq',
'mujinzmqclient>=0.3.7'
],
)