forked from conda/conda-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·47 lines (41 loc) · 1.42 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
42
43
44
45
46
47
#!/usr/bin/env python
import sys
from glob import glob
if 'develop' in sys.argv:
from setuptools import setup
else:
from distutils.core import setup
import versioneer
if sys.version_info[:2] < (2, 7):
sys.exit("conda-build is only meant for Python >=2.7"
"Current Python version: %d.%d" % sys.version_info[:2])
versioneer.VCS = 'git'
versioneer.versionfile_source = 'conda_build/_version.py'
versioneer.versionfile_build = 'conda_build/_version.py'
versioneer.tag_prefix = ''
versioneer.parentdir_prefix = 'conda-build-'
setup(
name="conda-build",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Continuum Analytics, Inc.",
author_email="[email protected]",
url="https://github.com/conda/conda-build",
license="BSD",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
description="tools for building conda packages",
long_description=open('README.rst').read(),
packages=['conda_build'],
scripts=glob('bin/*'),
install_requires=['conda'],
package_data={'conda_build': ['templates/*', 'cli-*.exe']},
)