Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
modulefiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mbb
modulefiles
Commits
5025f553
Commit
5025f553
authored
3 years ago
by
remy
Browse files
Options
Downloads
Patches
Plain Diff
WIP python/3.8 with guix
parent
803b59df
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
envfiles/python/3.8
+40
-0
40 additions, 0 deletions
envfiles/python/3.8
with
40 additions
and
0 deletions
envfiles/python/3.8
0 → 100644
+
40
−
0
View file @
5025f553
#%Module######################################################################
#
# python3.8 modulefile 20210616
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use python3.8"
puts stderr "This program is loaded by guix tool."
puts stderr "The program python3.8"
puts stderr "is added to PATH."
}
set is_module_rm [module-info mode remove]
set PYTHON_LVL 3.8
set HOME getenv(HOME)
setenv GUIX_PROFILE \$HOME/.guix-profile
set GUIX_PROFILE \$HOME/.guix-profile
#set PYTHON_CURPATH /usr/lib/python$PYTHON_LVL
#set PYTHON_SHARE_LIBS /share/apps/lib/python
#setenv PYTHONPATH $PYTHON_CURPATH:$PYTHON_CURPATH/plat-x86_64-linux-gnu:$PYTHON_CURPATH/lib-tk:$PYTHON_CURPATH/lib-old:$PYTHON_CURPATH/lib-dynload:/usr/local/lib/python$PYTHON_LVL/dist-packages:$PYTHON_CURPATH/dist-packages:PYTHON_CURPATH/dist-packages/gtk-2.0:$PYTHON_SHARE_LIBS/lib/python$PYTHON_LEVEL/site-packages
conflict python/3.6 python/2.7
exec sh -c "/usr/local/bin/guix install python"
exec bash -c ". \$HOME/.guix-profile/etc/profile"
unset-alias python
unset-alias python3.6
set-alias python python3.8
#prepend-path PATH $PYTHON_CURPATH/bin/:$PYTHON_SHARE_LIBS/bin
#prepend-path LD_LIBRARY_PATH $PYTHON_CURPATH/lib/python$PYTHON_LEVEL
#prepend-path MANPATH $PYTHON_CURPATH/share/man
append-path PE_PRODUCT_LIST PYTHON.$PYTHON_LVL
######################################################################
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment