-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Steven Esser <sesser@nexb.com>
- Loading branch information
1 parent
9a56b88
commit 565feee
Showing
1 changed file
with
29 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
A Simple Python Project Skeleton | ||
================================ | ||
Note: configure script requires src/ directory to run correctly. | ||
This repo attempts to standardize our python repositories using modern python | ||
packaging and configuration techniques. Using this `blog post`_ as inspiration, this | ||
repository will serve as the base for all new python projects and will be adopted to all | ||
our existing ones as well. | ||
|
||
.. _blog post: https://blog.jaraco.com/a-project-skeleton-for-python-projects/ | ||
|
||
Usage | ||
===== | ||
A brand new project | ||
------------------- | ||
.. code-block:: bash | ||
git init my-new-repo | ||
cd my-new-repo | ||
git pull git@github.com:nexB/skeleton | ||
From here, you can make the appropriate changes to the files for your specific project. | ||
|
||
Update an existing project | ||
--------------------------- | ||
.. code-block:: bash | ||
cd my-existing-project | ||
git remote add skeleton git@github.com:nexB/skeleton | ||
git fetch skeleton | ||
git merge skeleton --allow-unrelated-histories | ||
This is also the workflow to use when updating the skeleton files in any given repository. |