You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
scripts->bin. Add pydisassemble to list of scripts to install
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
include README.rst
|
||||
include __pkginfo__.py
|
||||
recursive-include uncompyle6 *.py
|
||||
include script/uncompyle6
|
||||
include bin/uncompyle6
|
||||
include bin/pydisassemble
|
||||
recursive-include test *.py *.pyc *.pyo
|
||||
|
@@ -32,6 +32,7 @@ modname = 'uncompyle6'
|
||||
packages = ['uncompyle6', 'uncompyle6.opcodes']
|
||||
py_modules = None
|
||||
short_desc = 'Python byte-code to source-code converter'
|
||||
scripts = ['uncompyle6', 'pydisassemble']
|
||||
|
||||
import os
|
||||
import os.path, sys
|
||||
@@ -47,7 +48,7 @@ version = '2.0'
|
||||
web = 'https://github.com/rocky/uncompyle6/'
|
||||
|
||||
# tracebacks in zip files are funky and not debuggable
|
||||
zip_safe = False
|
||||
zip_safe = True
|
||||
|
||||
|
||||
def read(*rnames):
|
||||
|
9
setup.py
9
setup.py
@@ -14,7 +14,7 @@ from distutils.core import setup, Extension
|
||||
from __pkginfo__ import \
|
||||
author, author_email, \
|
||||
long_description, \
|
||||
modname, packages, py_modules, \
|
||||
modname, packages, py_modules, scripts, \
|
||||
short_desc, version, web, zip_safe
|
||||
|
||||
__import__('pkg_resources')
|
||||
@@ -25,6 +25,12 @@ setup(
|
||||
author_email = author_email,
|
||||
# classifiers = classifiers,
|
||||
description = short_desc,
|
||||
entry_points = {
|
||||
'console_scripts': [
|
||||
'trepan2 = trepan.cli:main',
|
||||
'trepan2c = trepan.client:main',
|
||||
]},
|
||||
|
||||
# install_requires = install_requires,
|
||||
# license = license,
|
||||
long_description = long_description,
|
||||
@@ -34,5 +40,6 @@ setup(
|
||||
test_suite = 'nose.collector',
|
||||
url = web,
|
||||
setup_requires = ['nose>=1.0'],
|
||||
scripts = scripts,
|
||||
version = version,
|
||||
zip_safe = zip_safe)
|
||||
|
Reference in New Issue
Block a user