Skip to content

Instantly share code, notes, and snippets.

@altendky
Created May 4, 2018 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save altendky/3adc9ed474beb9e1677bd4d402a5fcc7 to your computer and use it in GitHub Desktop.
Save altendky/3adc9ed474beb9e1677bd4d402a5fcc7 to your computer and use it in GitHub Desktop.
altendky@lt:/home/epc/g/20/test$ rm -rf .venv; mkdir .venv; rm Pipfile*; rm -rf {,src}*.egg-info; tree -a -I .idea; cat setup.py; ../pipenv/.venv/bin/pipenv install -e .; echo -e "\n Exit code: $?\n"; ../pipenv/.venv/bin/pipenv run pip freeze
.
├── setup.py
└── .venv
1 directory, 1 file
import setuptools
setuptools.setup(
name='testing',
install_requires=[
'chardet',
# 'twisted; platform_system != "Windows"',
'twisted[windows_platform]; platform_system == "Windows"',
],
)
Creating a virtualenv for this project…
Using /home/epc/g/20/pipenv/.venv/bin/python3.6 (3.6.5) to create virtualenv…
⠋Running virtualenv with interpreter /home/epc/g/20/pipenv/.venv/bin/python3.6
Using real prefix '/home/altendky/.pyenv/versions/3.6.5'
New python executable in /home/epc/g/20/test/.venv/bin/python3.6
Also creating executable in /home/epc/g/20/test/.venv/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: /home/epc/g/20/test/.venv
Creating a Pipfile for this project…
Installing -e .…
Obtaining file:///home/epc/g/20/test
Collecting chardet (from testing==0.0.0)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Installing collected packages: chardet, testing
Running setup.py develop for testing
Successfully installed chardet-3.0.4 testing
Adding -e . to Pipfile's [packages]…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (8d2b3d)!
Installing dependencies from Pipfile.lock (8d2b3d)…
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/2 — 00:00:01
To activate this project's virtualenv, run the following:
$ pipenv shell
Exit code: 0
chardet==3.0.4
testing==0.0.0
altendky@lt:/home/epc/g/20/test$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment