forked from pyenv/pyenv-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (47 loc) · 1.62 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
import sys
from setuptools import setup
from setuptools.command.install import install
LONG_DESCRIPTION = """\
pyenv
=====
pyenv lets you easily switch between multiple versions of Python. It's simple,
unobtrusive, and follows the UNIX tradition of single-purpose tools that do one
thing well.
**NOTE:** This is a placeholder package.
pyenv is a collection of shell scripts and not installable with pip.
See `installation instructions <https://github.com/pyenv/pyenv#installation>`_
for more information.
"""
ERROR_MSG = """\
############################ NOTE ############################
We are sorry, but this package is not installable with pip.
Please read the installation instructions at:
https://github.com/pyenv/pyenv#installation
##############################################################
"""
class NoInstall(install):
def run(self):
sys.exit(ERROR_MSG)
setup(
version='0.0.0',
name='pyenv',
author='Yamashita, Yuu',
author_email='[email protected]',
url="https://github.com/pyenv/pyenv",
description='pyenv project placeholder package',
long_description=LONG_DESCRIPTION,
license='MIT',
platforms=['UNIX'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Unix Shell',
'Topic :: Software Development :: Interpreters',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
cmdclass={'install': NoInstall},
)