Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
setuptools-rust==1.1.2
jinja2==3.0.3
boto3==1.20.45
botocore==1.23.45
click==8.0.3
requests==2.27.1
PyYAML==6.0
setuptools-rust==1.7.0
Jinja2==3.1.2
boto3==1.28.46
botocore==1.31.46
click==8.1.7
requests==2.31.0
PyYAML==6.0.1
defusedxml==0.7.1
subresource-integrity==0.2
jsonschema==3.2.0
jsonschema==4.19.0
20 changes: 1 addition & 19 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,9 @@
See the License for the specific language governing permissions and
limitations under the License.
"""

# !/usr/bin/env python

import re

from setuptools import setup, find_packages

version = "1.1.2"
version = "1.2.1"

# f = open('README.md')
# long_description = f.read().strip()
Expand All @@ -33,18 +28,6 @@
in future. And Ronda service will be hosted in AWS S3.
"""


def _get_requirements(path):
try:
with open(path, encoding="utf-8") as f:
packages = f.read().splitlines()
except (IOError, OSError) as ex:
raise RuntimeError(f"Can't open file with requirements: {ex}") from ex
packages = (p.strip() for p in packages if not re.match(r'^\s*#', p))
packages = list(filter(None, packages))
return packages


setup(
zip_safe=True,
name="charon",
Expand All @@ -62,7 +45,6 @@ def _get_requirements(path):
author="RedHat EXD SPMM",
license="APLv2",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
install_requires=_get_requirements('requirements.txt'),
package_data={'charon': ['schemas/*.json']},
test_suite="tests",
entry_points={
Expand Down