Skip to content

Commit

Permalink
revert toml setup for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Mar 25, 2024
1 parent ee3e24d commit c2cc6e7
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 64 deletions.
2 changes: 1 addition & 1 deletion decompyle3/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# This file is suitable for sourcing inside bash as
# well as importing into Python
# fmt: off
__version__="3.9.1" # noqa
__version__="3.9.2dev0" # noqa
54 changes: 0 additions & 54 deletions pyproject.toml

This file was deleted.

50 changes: 41 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,23 @@

import sys

from setuptools import setup
import setuptools

from __pkginfo__ import (
__version__,
author,
author_email,
classifiers,
entry_points,
install_requires,
license,
long_description,
modname,
py_modules,
short_desc,
web,
zip_safe,
)

SYS_VERSION = sys.version_info[0:2]
if SYS_VERSION < (3, 7):
Expand All @@ -12,12 +28,28 @@
print(mess)
raise Exception(mess)

setup(
packages=[
"decompyle3",
"decompyle3.bin",
"decompyle3.parsers",
"decompyle3.scanners",
"decompyle3.semantics",
]
setuptools.setup(
author=author,
author_email=author_email,
classifiers=classifiers,
description=short_desc,
# entry_points=entry_points,
entry_points={
"console_scripts": [
"decompyle3=decompyle3.bin.decompile:main_bin",
"decompyle3-code=decompyle3.bin.decompile_code_type:main",
"decompyle3-tokens=decompyle3.bin.decompile_tokens:main",
]
},
install_requires=install_requires,
license=license,
long_description=long_description,
name=modname,
packages=setuptools.find_packages(),
py_modules=py_modules,
test_suite="nose.collector",
url=web,
tests_require=["nose>=1.0"],
version=__version__,
zip_safe=zip_safe,
)

0 comments on commit c2cc6e7

Please sign in to comment.