forked from lowks/pythonpy
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·33 lines (31 loc) · 1.07 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·33 lines (31 loc) · 1.07 KB
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
#!/usr/bin/env python
from setuptools import setup
import sys
py_entry = 'py%s = pythonpy.__main__:main'
pycompleter_entry = 'pycompleter%s = pythonpy.pycompleter:main'
endings = ('', sys.version[:1], sys.version[:3])
entry_points_scripts = []
for e in endings:
entry_points_scripts.append(py_entry % e)
entry_points_scripts.append(pycompleter_entry % e)
setup(
name='pythonpy',
version='0.4.11',
description='python -c, with tab completion and shorthand',
#data_files=data_files,
license='MIT',
url='https://github.com/Russell91/pythonpy',
long_description='https://github.com/Russell91/pythonpy',
packages=['pythonpy', 'pythonpy.completion'],
package_data={'pythonpy': ['completion/pycompletion.sh']},
scripts=['pythonpy/find_pycompletion.sh'],
entry_points = {
'console_scripts': entry_points_scripts
},
classifiers = [
# https://pypi.org/pypi?%3Aaction=list_classifiers
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
)