-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (47 loc) · 1.87 KB
/
setup.py
File metadata and controls
57 lines (47 loc) · 1.87 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
53
54
55
56
57
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from setuptools import setup
class Dependencies(object):
def __init__(self):
self.install_requires = []
self.dependency_links = []
def pip(self, requirement):
self.install_requires.append(requirement)
def git(self, org, package, version, branch='master'):
repo = (
'git+https://github.com/'
'{org}/{package}@{version}#egg={package}-{version}'
).format(**locals())
require = '{package} @ {repo}'.format(**locals())
self.install_requires.append(require)
requires = Dependencies()
requires.git('construct-org', 'construct', '0.1.40')
requires.git('construct-org', 'construct_cpenv', '0.3.0')
requires.git('construct-org', 'construct_launcher', '0.2.0')
requires.git('construct-org', 'construct_maya', '0.1.13')
requires.git('construct-org', 'construct_hou', '0.1.1')
requires.git('construct-org', 'construct_nuke', '0.1.10')
requires.git('construct-org', 'construct_ui', '0.2.3')
requires.pip('fsfs')
setup(
name='construct_setup',
version='0.1.40',
author='Dan Bradham',
author_email='danielbradham@gmail.com',
description='Install construct core packages',
url='https://github.com/construct-org/construct_setup',
long_description=open('README.rst', 'r').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
],
install_requires=requires.install_requires,
)