Skip to content

Instantly share code, notes, and snippets.

View LevZaplatin's full-sized avatar
🍀

Lev Zaplatin LevZaplatin

🍀
View GitHub Profile
@LevZaplatin
LevZaplatin / create-relative-virtualenv
Last active December 1, 2019 17:33 — forked from chrismaes87/create-relative-virtualenv
bash script to create a relative virtualenv that can be packaged in an rpm
#!/usr/bin/env bash
me=$(basename $0)
set -e # exit on error
function print_help {
echo
echo $me - create a virtualenv with relative paths in a certain buildroot and fix the relative path to make it work after install
echo
echo OPTIONS