squelette - skeleton generator
Project description
squelette - skeleton generator
=============================
Requirements
------------
Python 2.x or Python 3.x
Install
-------
# Build the virtualenv and install required modules,
# including this one in editable mode
# Python 3, using the venv module
0/make_venv3.sh
# Python 2, using virtualenv. Requires virtualenv to be installed
0/make_venv2.sh
. venv/bin/activate
or install with Pip
pip install squelette
Usage
-----
squelette LANGUAGE NAME DESCRIPTION
Python example
squelette python PACKAGENAME 'A new package'
# If squelette was used from its own virtual environment,
# deactivate it
deactivate
# Create and activate the new package's development environment
cd python_test
0/make_venv.sh
. venv/bin/activate
The new package will have two executable example scripts
# in setup.py under `scripts`
bin/hello-PACKAGENAME
# in setup.py under `console_scripts`
PACKAGENAME
Package commands
# Build the module
0/build.sh
# Register the built module with PyPI
# This is no longer required, and in fact seems to be
# broken as used here. Ignore this
0/register.sh
# Upload a new build to PyPI
0/upload.sh
# Delete all built files
0/clean.sh
Development
-----------
The same command for generated modules apply to `squelette` itself
# This IPython config will set autoreload
ipython --config=0/ipython_config.py
The files under `venv/bin` generated by the module will have to be rebuilt
on changes, rebuild with
pip install -e .
=============================
Requirements
------------
Python 2.x or Python 3.x
Install
-------
# Build the virtualenv and install required modules,
# including this one in editable mode
# Python 3, using the venv module
0/make_venv3.sh
# Python 2, using virtualenv. Requires virtualenv to be installed
0/make_venv2.sh
. venv/bin/activate
or install with Pip
pip install squelette
Usage
-----
squelette LANGUAGE NAME DESCRIPTION
Python example
squelette python PACKAGENAME 'A new package'
# If squelette was used from its own virtual environment,
# deactivate it
deactivate
# Create and activate the new package's development environment
cd python_test
0/make_venv.sh
. venv/bin/activate
The new package will have two executable example scripts
# in setup.py under `scripts`
bin/hello-PACKAGENAME
# in setup.py under `console_scripts`
PACKAGENAME
Package commands
# Build the module
0/build.sh
# Register the built module with PyPI
# This is no longer required, and in fact seems to be
# broken as used here. Ignore this
0/register.sh
# Upload a new build to PyPI
0/upload.sh
# Delete all built files
0/clean.sh
Development
-----------
The same command for generated modules apply to `squelette` itself
# This IPython config will set autoreload
ipython --config=0/ipython_config.py
The files under `venv/bin` generated by the module will have to be rebuilt
on changes, rebuild with
pip install -e .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
squelette-0.0.6.tar.gz
(13.0 kB
view hashes)
Built Distribution
Close
Hashes for squelette-0.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd440270eb3c2ad33858d36cf9379e32c43a37220618906bf22390df7c6ef672 |
|
MD5 | 39176e0d5f3aabbc0836f01150bb6330 |
|
BLAKE2b-256 | 4a42b9d8af29fd6e233c4957a005f3734bcb3e13b093d49ad3db4ca28730916c |