June 2017
Beginner
352 pages
8h 39m
English
Now that we've got our setup.py, we can use it to do a number of interesting things. The first, and perhaps most obvious, thing we can do is install our module into our virtual environment! We do this by passing the install argument to setup.py:
(palindrome_env)$ python setup.py installrunning installrunning buildrunning build_pycopying palindrome.py -> build/librunning install_libcopying build/lib/palindrome.py -> /Users/sixty_north/examples/palindrome/palindrome_env/lib/python3.5/site-packagesbyte-compiling /Users/sixty_north/examples/palindrome/palindrome_env/lib/python3.5/site-packages/palindrome.py to palindrome.cpython-35.pycrunning install_egg_infoWriting /Users/sixty_north/examples/palindrome/palindrome_env/lib/python3.5/site-packages/palindrome-1.0-py3.5.egg-info ...
Read now
Unlock full access