forked from vfxetc/mayatools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (30 loc) · 1.13 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
import os
from subprocess import check_call
from setuptools import setup, find_packages
from distutils.command.build import build as default_build
class build(default_build):
def run(self):
# Quickly disable the `make` for Mark Media (who does not need the compiled plugins).
if os.environ.get('MAYATOOLS_SETUP_MAKE'):
check_call(['make'])
default_build.run(self)
setup(
name='mayatools',
version='0.1-dev',
description='Collection of general tools and utilities for working in and with Maya.',
url='https://github.com/westernx/mayatools',
packages=find_packages(exclude=['build*', 'tests*']),
include_package_data=True,
author='Mike Boers',
author_email='[email protected]',
license='BSD-3',
cmdclass={'build': build},
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)