Created
February 19, 2015 16:37
-
-
Save AmaxJ/a9dfdb2028455979fa5d to your computer and use it in GitHub Desktop.
directory structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Libraries and webpages have unique directory structures. | |
Library: | |
<library name> | |
<library name> | |
-modules | |
__init__.py | |
#The main __init__.py imports all the things that the library requires. | |
#ex: https://github.com/kennethreitz/requests/blob/master/requests/__init__.py | |
WebPage: | |
<page name> | |
-bin | |
#contains scripts useful for development. | |
-src | |
#The actual source code | |
-libraries | |
#libraries that your program uses. | |
Libraries that your project requires should be listed in a ‘requirements.txt’ folder. | |
They may be installed via pip like so: | |
>>>pip install -r requirements.txt | |
everything listed in requirements gets installed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment