Skip to content

Commit

Permalink
Prepare a release which does not yet support Python 3.13.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Aug 2, 2024
1 parent 4eaa5fa commit b1ef5ba
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 49 deletions.
2 changes: 0 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ Changes

- Remove unneeded setuptools fossils that may cause installation problems
with recent setuptools versions.
- Allow to use the package with Python 3.13 -- Caution: No security
audit has been done so far.
- Add support for single mode statements / execution.
- Fix a potential breakout capability in the provided ``safer_getattr`` method
that is part of the ``safer_builtins``.
Expand Down
90 changes: 43 additions & 47 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,50 +29,46 @@ def read(*rnames):
'pytest-mock',
]


setup(
name='RestrictedPython',
version='7.2.dev0',
url='https://github.com/zopefoundation/RestrictedPython',
license='ZPL 2.1',
description=(
'RestrictedPython is a defined subset of the Python language which '
'allows to provide a program input into a trusted environment.'
),
long_description=read('README.rst') + '\n' + read('CHANGES.rst'),
long_description_content_type='text/x-rst',
classifiers=[
'Development Status :: 6 - Mature',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Security',
],
keywords='restricted execution security untrusted code',
author='Zope Foundation and Contributors',
author_email='[email protected]',
project_urls={
"Documentation": "https://restrictedpython.readthedocs.io/",
"Source": "https://github.com/zopefoundation/RestrictedPython",
"Tracker": "https://github.com/zopefoundation/RestrictedPython/issues",
},
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=[
],
python_requires=">=3.7, <3.14",
extras_require={
'test': tests_require,
'docs': ['Sphinx', 'sphinx_rtd_theme'],
},
include_package_data=True,
zip_safe=False
)
setup(name='RestrictedPython',
version='7.2.dev0',
url='https://github.com/zopefoundation/RestrictedPython',
license='ZPL 2.1',
description=(
'RestrictedPython is a defined subset of the Python language which '
'allows to provide a program input into a trusted environment.'),
long_description=read('README.rst') + '\n' + read('CHANGES.rst'),
long_description_content_type='text/x-rst',
classifiers=[
'Development Status :: 6 - Mature',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Security',
],
keywords='restricted execution security untrusted code',
author='Zope Foundation and Contributors',
author_email='[email protected]',
project_urls={
"Documentation": "https://restrictedpython.readthedocs.io/",
"Source": "https://github.com/zopefoundation/RestrictedPython",
"Tracker":
"https://github.com/zopefoundation/RestrictedPython/issues",
},
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=[],
python_requires=">=3.7, <3.13",
extras_require={
'test': tests_require,
'docs': ['Sphinx', 'sphinx_rtd_theme'],
},
include_package_data=True,
zip_safe=False)

0 comments on commit b1ef5ba

Please sign in to comment.