RedHatGov / hattrick

Project Hat Trick (currently refactoring from original repo at: https://github.com/redhat-kejones/hattrick)
GNU General Public License v3.0
16 stars 8 forks source link

pipenv #3

Closed rhcreynold closed 4 years ago

rhcreynold commented 4 years ago

It's awful @jaredhocutt

jaredhocutt commented 4 years ago

Says the guy who has no development experience. It's a fantastic tool.

Is it really that hard to type:

pipenv install
pipenv shell

And you get a completely isolated environment that has the exact dependencies you need.

rhcreynold commented 4 years ago

by default the roles do not attach the needed repos to enable pipenv:

Last login: Tue Jan 14 14:58:03 2020 from 10.0.0.1
[root@kvm ~]# pipenv install
-bash: pipenv: command not found
[root@kvm ~]# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
repo id                                       repo name                                               status
rhel-7-server-extras-rpms/x86_64              Red Hat Enterprise Linux 7 Server - Extras (RPMs)        1,215
rhel-7-server-rh-common-rpms/7Server/x86_64   Red Hat Enterprise Linux 7 Server - RH Common (RPMs)       239
rhel-7-server-rpms/7Server/x86_64             Red Hat Enterprise Linux 7 Server (RPMs)                26,758
repolist: 28,212
jaredhocutt commented 4 years ago
pip install pipenv
rhcreynold commented 4 years ago

[root@kvm ~]# pip install pipenv -bash: pip: command not found [root@kvm ~]#

jaredhocutt commented 4 years ago

Then install pip

rhcreynold commented 4 years ago

This should be handled by the kvm host prep playbook, not manually done by the user.

jaredhocutt commented 4 years ago

Talk to @kjw3 - he wrote it

rhcreynold commented 4 years ago

@kjw3 see above

pipenv is still awful @jaredhocutt

jaredhocutt commented 4 years ago

pipenv is great and @rhcreynold is awful

kjw3 commented 4 years ago

Closed. won't fix. At least not yet