Skip to content

Instantly share code, notes, and snippets.

@ymotongpoo
Last active February 2, 2017 07:46
Show Gist options
  • Save ymotongpoo/7068beddbc7cf8a2015338c64425ca06 to your computer and use it in GitHub Desktop.
Save ymotongpoo/7068beddbc7cf8a2015338c64425ca06 to your computer and use it in GitHub Desktop.
package directory structure

conda

% tar xjf 
% tree jupyter-conda
jupyter-conda
├── info
│   ├── files
│   ├── index.json
│   ├── meta
│   └── requires
└── lib
    └── python3.5
        └── site-packages
            ├── __pycache__
            │   └── jupyter.cpython-35.pyc
            ├── jupyter-1.0.0-py3.5.egg-info
            └── jupyter.py

PyPI (tar.gz)

% tar xjf jupyter-1.0.0.tar.gz -C jupyter-pypi
% tree jupyter-pypi
jupyter-pypi
├── LICENSE
├── PKG-INFO
├── README.md
├── docs
│   ├── Makefile
│   ├── make.bat
│   └── source
│       ├── conf.py
│       ├── config.rst
│       ├── data_science.rst
│       ├── index.rst
│       ├── install.rst
│       ├── scratch.rst
│       └── system.rst
├── jupyter.py
├── setup.cfg
└── setup.py

PyPI (zip)

% unzip jupyter-1.0.0.zip -d jupyter-zip
% tree jupyter-zip
jupyter-zip
└── jupyter-1.0.0
    ├── LICENSE
    ├── PKG-INFO
    ├── README.md
    ├── docs
    │   ├── Makefile
    │   ├── make.bat
    │   └── source
    │       ├── conf.py
    │       ├── config.rst
    │       ├── data_science.rst
    │       ├── index.rst
    │       ├── install.rst
    │       ├── scratch.rst
    │       └── system.rst
    ├── jupyter.py
    ├── setup.cfg
    └── setup.py

PyPI (wheel)

% unzip jupyter-1.0.0.py2.py3-none-any.whl -d jupyter-whl
% tree jupyter-whl 
jupyter-whl
├── jupyter-1.0.0.dist-info
│   ├── DESCRIPTION.rst
│   ├── METADATA
│   ├── RECORD
│   ├── WHEEL
│   ├── metadata.json
│   ├── pbr.json
│   └── top_level.txt
└── jupyter.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment