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
1 change: 1 addition & 0 deletions pip/nose.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
%define source0 https://github.com/cms-externals/nose/archive/refs/tags/release_%{realversion}_py3.tar.gz
4 changes: 0 additions & 4 deletions pip/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ histbook==1.2.5
histoprint==2.2.0
histogrammar==1.0.25
html5lib==1.1
hyperas==0.4.1
hyperopt==0.2.5
idna==3.2
immutables==0.16
importlib-metadata==4.8.1
Expand Down Expand Up @@ -164,8 +162,6 @@ nbformat==5.1.3
nest-asyncio==1.5.1
networkx==2.6.2
neurolab==0.3.5
nose-parameterized==0.6.0
nose==1.3.7
node-semver==0.8.0
notebook==6.4.3
numba==0.54.0
Expand Down
6 changes: 2 additions & 4 deletions py3-setuptools.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM external py3-setuptools 51.3.3
### RPM external py3-setuptools 58.2.0
## INITENV +PATH PYTHON3PATH %{i}/${PYTHON3_LIB_SITE_PACKAGES}

Source: https://github.com/pypa/setuptools/archive/v%{realversion}.tar.gz
Expand All @@ -11,12 +11,10 @@ Requires: python3
%build
python3 bootstrap.py
python3 setup.py build
python3 setup.py egg_info

%install
python3 setup.py install --single-version-externally-managed --record=/dev/null --skip-build --prefix=%{i}
sed -i 's|#!.*python.*|#!/usr/bin/env python3|' \
%{i}/bin/* \
%{i}/${PYTHON3_LIB_SITE_PACKAGES}/setuptools/command/easy_install.py \
%{i}/${PYTHON3_LIB_SITE_PACKAGES}/pkg_resources/_vendor/appdirs.py
mv %{i}/bin/easy_install %{i}/bin/easy_install3