forked from pex-tool/pex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (51 loc) · 1.47 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
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'CHANGES.rst')) as fp:
LONG_DESCRIPTION = fp.read()
# This seems to be a fairly standard version file pattern.
#
# Populates the following variables:
# __version__
# __setuptools_requirement
# __wheel_requirement
__version__ = ''
version_py_file = os.path.join(os.path.dirname(__file__), 'pex', 'version.py')
with open(version_py_file) as version_py:
exec(compile(version_py.read(), version_py_file, 'exec'))
setup(
name = 'pex',
version = __version__,
description = "The PEX packaging toolchain.",
long_description = LONG_DESCRIPTION,
url = 'https://github.com/pantsbuild/pex',
license = 'Apache License, Version 2.0',
zip_safe = True,
classifiers = [
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
packages = [
'pex',
'pex.bin',
],
install_requires = [
SETUPTOOLS_REQUIREMENT,
],
tests_require = [
'mock',
'twitter.common.contextutil>=0.3.1,<0.4.0',
'twitter.common.lang>=0.3.1,<0.4.0',
'twitter.common.testing>=0.3.1,<0.4.0',
'twitter.common.dirutil>=0.3.1,<0.4.0',
'pytest',
],
entry_points = {
'console_scripts': [
'pex = pex.bin.pex:main',
],
},
)