forked from pyenv/pyenv-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (30 loc) · 1.01 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
import distutils.core
from distutils.command.install import install
import subprocess
class PyenvInstall(install):
def run(self):
print(subprocess.check_output(['bash', 'bin/pyenv-installer']))
with open('README.rst') as file:
long_description = file.read()
distutils.core.setup(
version='20150113',
name='pyenv',
author='Yamashita, Yuu',
url='https://github.com/yyuu/pyenv-installer',
description='Tool to install pyenv and friends',
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=dict(install=PyenvInstall),
)