Strongly opinionated python project management.
Project description
edgy.project
Strongly opinionated python project management.
This package helps you create python source trees using best practices (or at least the practices we consider as best for us) in a breeze.
Don’t worry about setting up git, a makefile, usual project targets, unit tests framework, pip, wheels, virtualenv, code coverage, namespace packages, setup.py files … Project’s got you covered on all this, using one simple and fast command.
Install
Before installing the package, you must make sure that pip and virtualenv are installed and available to be used in your current environment.
pip install edgy.project
Now, you may want to bootstrap a python package source tree.
mkdir my.awesome.pkg
cd my.awesome.pkg
cat >Projectfile <<EOF
name = 'my.awesome.pkg'
description = 'Amazing description.'
license = 'Apache License, Version 2.0'
EOF
python -m edgy.project init
You’re done with the bootstrap. You can now run:
make install
make test
git commit -m 'Damn that was fast ...'
Happy?
Gotchas
As the headline says, we have made strong opinionated choices about how a project tree should be organized.
For example, we choose to use make to provide the main project entrypoints (install, test). We also choose to use git. And nosetests. And to put root package in the project root. Etc.
For beginners, that’s a good thing, because they won’t have to ask themselves questions like “What should I put in setup.py ?” or “Should I create a «src» dir or not ?”. For more advanced users, it can be either a good thing if you agree with our choices, or a bad one …
F.A.Q
I’m using PasteScript, isn’t that enough?
PasteScript with the basic_package template will only generate a very minimalistic tree, while we install a few tools and generate more boilerplate than it does. The fact is, we were using it before but still had a lot of repeated actions to do then, and the exact aim of this project is to automate the whole. Also, PasteScript cannot update a project once generated, while we do.
Should I use it?
You’re a grown man, right?
Can I contribute?
Yes, but the right vs wrong choices decision is up to us. Probably a good idea to discuss about it (in an issue for example) first.
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
Built Distributions
Hashes for edgy.project-0.1.1.macosx-10.10-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e69e8b9854416eeb3bd8f58231baf20a0f2fe03cc6c3643efed23c7bac5f1b8d |
|
MD5 | 0cb2107a495bdbb221cd67f86b022c7f |
|
BLAKE2b-256 | 8304cdede7c5d682848b62d5634dc1dd957b6dbea0caab37d69a332ea8b82faa |
Hashes for edgy.project-0.1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c2b82b5c03ffcf0aa7c335884964f619f0393fbce84cc7e6e766ad358b92ddc |
|
MD5 | cd41f19742dd0434136edb53355a46c5 |
|
BLAKE2b-256 | be24ea340c7b0703960de481247333e1afc5aef9bd230a6f2950d66b7212b0aa |