-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (47 loc) · 1.41 KB
/
Copy pathsetup.py
File metadata and controls
52 lines (47 loc) · 1.41 KB
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
50
51
52
#! /usr/bin/env mayapy
import os
import sys
from setuptools import setup, find_packages
if sys.version_info[:2] < (2, 7):
sys.exit('mayalauncher requires Python 2.7 or higher.')
here = os.path.abspath(os.path.dirname(__file__))
# Get long description
try:
import pypandoc
pypandoc.convert_file('README.md', 'rst', outputfile='README.rst')
with open('README.rst') as rst:
description = rst.read()
os.remove('README.rst')
except (IOError, ImportError):
with open(os.path.join(here, 'README.md'), 'r') as f:
description = f.read()
setup(
name='mampy',
version='0.2.1',
description='Maya wrapper for the verbose Maya API',
long_description=description,
author='Marcus Albertsson',
author_email='marcus.arubertoson@gmail.com',
url='https://github.com/arubertoson/mampy',
license='MIT',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
'shiboken',
'six',
'sip',
'Qt.py==1.1.0b1',
'mvp',
'contextlib2',
# 'profilehooks'
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
'Programming Language :: Python :: 2',
])