~ubuntu-branches/ubuntu/vivid/python-pex/vivid

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Package Import Robot
  • Author(s): Barry Warsaw
  • Date: 2015-02-19 14:13:25 UTC
  • Revision ID: package-import@ubuntu.com-20150219141325-w62bie95l6rawuuv
Tags: upstream-0.8.6
ImportĀ upstreamĀ versionĀ 0.8.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
 
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
 
3
 
 
4
import os
 
5
 
 
6
from setuptools import setup
 
7
 
 
8
 
 
9
with open(os.path.join(os.path.dirname(__file__), 'CHANGES.rst')) as fp:
 
10
  LONG_DESCRIPTION = fp.read()
 
11
 
 
12
 
 
13
# This seems to be a fairly standard version file pattern.
 
14
__version__ = ''
 
15
version_py_file = os.path.join(os.path.dirname(__file__), 'pex', 'version.py')
 
16
with open(version_py_file) as version_py:
 
17
  exec(compile(version_py.read(), version_py_file, 'exec'))
 
18
 
 
19
 
 
20
setup(
 
21
  name = 'pex',
 
22
  version = __version__,
 
23
  description = "The PEX packaging toolchain.",
 
24
  long_description = LONG_DESCRIPTION,
 
25
  url = 'https://github.com/pantsbuild/pex',
 
26
  license = 'Apache License, Version 2.0',
 
27
  zip_safe = True,
 
28
  classifiers = [
 
29
    'Intended Audience :: Developers',
 
30
    'License :: OSI Approved :: Apache Software License',
 
31
    'Operating System :: OS Independent',
 
32
    'Programming Language :: Python',
 
33
  ],
 
34
  packages = [
 
35
    'pex',
 
36
    'pex.bin',
 
37
  ],
 
38
  install_requires = [
 
39
    'setuptools>=2.2,<8',
 
40
  ],
 
41
  tests_require = [
 
42
    'mock',
 
43
    'twitter.common.contextutil>=0.3.1,<0.4.0',
 
44
    'twitter.common.lang>=0.3.1,<0.4.0',
 
45
    'twitter.common.testing>=0.3.1,<0.4.0',
 
46
    'twitter.common.dirutil>=0.3.1,<0.4.0',
 
47
    'pytest',
 
48
  ],
 
49
  entry_points = {
 
50
    'console_scripts': [
 
51
      'pex = pex.bin.pex:main [whl]',
 
52
    ],
 
53
  },
 
54
  extras_require = {
 
55
    'whl': ['wheel>=0.24.0,<0.25.0'],
 
56
  },
 
57
)