install helpers at top level

This commit is contained in:
Robert Taylor 2022-12-02 01:17:50 +00:00
parent a0b307b3b4
commit 46acf17e47
3 changed files with 8 additions and 9 deletions

View File

@ -119,7 +119,7 @@ Development files for the Coriolis 2 package.
%dir %{coriolisTop}/%{_lib}
%dir %{coriolisTop}/%{python_sitedir}
%dir %{coriolisTop}/%{python_sitedir}/crlcore
%dir %{coriolisTop}/%{python_sitedir}/crlcore/helpers
%dir %{coriolisTop}/%{python_sitedir}/helpers
%dir %{coriolisTop}/%{python_sitedir}/cumulus
%dir %{coriolisTop}/%{python_sitedir}/stratus
%{coriolisTop}/bin/*
@ -130,7 +130,7 @@ Development files for the Coriolis 2 package.
%{coriolisTop}/%{python_sitedir}/cumulus/plugins/*/*.py*
%{coriolisTop}/%{python_sitedir}/stratus/*.py*
%{coriolisTop}/%{python_sitedir}/crlcore/*.py*
%{coriolisTop}/%{python_sitedir}/crlcore/helpers/*.py*
%{coriolisTop}/%{python_sitedir}/helpers/*.py*
%{coriolisTop}/%{python_sitedir}/kite/*.py*
%{coriolisTop}/%{python_sitedir}/unicorn/*.py*
%{_sysconfdir}/coriolis2/*.py

View File

@ -1,7 +1,7 @@
install( FILES helpers/__init__.py DESTINATION ${Python_CORIOLISLIB}/crlcore/helpers )
install( FILES helpers/io.py DESTINATION ${Python_CORIOLISLIB}/crlcore/helpers )
install( FILES helpers/utils.py DESTINATION ${Python_CORIOLISLIB}/crlcore/helpers )
install( FILES helpers/overlay.py DESTINATION ${Python_CORIOLISLIB}/crlcore/helpers )
install( FILES helpers/analogtechno.py DESTINATION ${Python_CORIOLISLIB}/crlcore/helpers )
install( FILES helpers/technology.py DESTINATION ${Python_CORIOLISLIB}/crlcore/helpers )
install( FILES helpers/__init__.py DESTINATION ${Python_CORIOLISLIB}/helpers )
install( FILES helpers/io.py DESTINATION ${Python_CORIOLISLIB}/helpers )
install( FILES helpers/utils.py DESTINATION ${Python_CORIOLISLIB}/helpers )
install( FILES helpers/overlay.py DESTINATION ${Python_CORIOLISLIB}/helpers )
install( FILES helpers/analogtechno.py DESTINATION ${Python_CORIOLISLIB}/helpers )
install( FILES helpers/technology.py DESTINATION ${Python_CORIOLISLIB}/helpers )

View File

@ -8,7 +8,6 @@ let pkg =
propagatedBuildInputs = [ libxml2 qt4 coriolis-lefdef coriolis-hurricane python3Packages.pyqt4 ];
nativeBuildInputs = [ bison flex doxygen python3Packages.pyqt4 ];
postInstall = ''
ln -s crlcore/helpers $out/${python3Packages.python.sitePackages}/helpers
ln -s -t $out/${python3Packages.python.sitePackages} $out/etc/coriolis2/*
# for import check