-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
34 lines (32 loc) · 1.16 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
# -*- 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/mujinwebstackclient/version.py').read(), version)
setup(
distclass=Distribution,
name='mujinwebstackclient',
version=version['__version__'],
packages=['mujinwebstackclient'],
package_dir={'mujinwebstackclient': 'python/mujinwebstackclient'},
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_webstackclientpy_applyconfig.py',
'bin/mujin_webstackclientpy_runshell.py',
'bin/mujin_webstackclientpy_downloaddata.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=[],
)