Aperture
An image formatting and compression tool.
Environment Setup
We'll be using pipenv
to manage our virtual environment, and dev dependencies for the project.
- Install pipenv:
pip install pipenv
. -
cd
intoaperture
and initialize the virtual environment:pipenv install
. - Enable the virtual environment:
pipenv shell
. - You're good to go! Refer to the
pipenv
docs for installing dependencies and much more: https://docs.pipenv.org/
Building aperture locally
- Install aperture as a python library and a source distribution in your virtual environment:
make install
. - Remove left over build artifacts:
make clean
.
TODO:
- Register aperture to the PyPi index (aperture already taken, so
aperturepy
will probably suffice). - Define a styling format for yapf that we all agree on.
- Define a documentation format that we all agree on (this is a good place to start: https://google.github.io/styleguide/pyguide.html).
- Figure out how to properly use docopt.
- Once we're past the goals for Week 2 (basic CLI functionality), we need to move the code for the CLI to a separate repository, where this
aperture
repo will only contain the stand-alone python library.