forked from conda/conda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (29 loc) · 1.09 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
# (c) 2012 Continuum Analytics, Inc. / http://continuum.io
# All Rights Reserved
#
# conda is distributed under the terms of the BSD 3-clause license.
# Consult LICENSE.txt or http://opensource.org/licenses/BSD-3-Clause.
import sys
if 'develop' in sys.argv:
import setuptools
from distutils.core import setup
import versioneer
if sys.version[:3] != '2.7':
raise Exception("conda is only meant for Python 2.7, current version: %s" %
sys.version[:3])
versioneer.versionfile_source = 'conda/_version.py'
versioneer.versionfile_build = 'conda/_version.py'
versioneer.tag_prefix = '' # tags are like 1.2.0
versioneer.parentdir_prefix = 'conda-' # dirname like 'myproject-1.2.0'
setup(
name = "conda",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author = "Continuum Analytics, Inc.",
author_email = "[email protected]",
license = "BSD",
description = "package management tool",
long_description = open('README.rst').read(),
packages = ['conda', 'conda.cli', 'conda.builder', 'conda.progressbar'],
scripts = ['bin/conda'],
)