Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vkuznet/pypc
Python package creator
https://github.com/vkuznet/pypc
Last synced: 30 days ago
JSON representation
Python package creator
- Host: GitHub
- URL: https://github.com/vkuznet/pypc
- Owner: vkuznet
- Created: 2012-04-08T14:41:45.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-27T18:04:20.000Z (almost 12 years ago)
- Last Synced: 2024-10-30T06:27:34.589Z (3 months ago)
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Introduction:
-------------How many times you created a python project, if your answer is plenty, then
you probably tired to create desired infrastructre over and over.
So pypc (Python Project Creator) is a way to go. It creates
full directory structure, including test suit, docs and project python
setup.py for your convenience. You only need to fill out the project
with your code.Usage:
------Usage: create_package.py [options]
Options:
-h, --help show this help message and exit
-p PACKAGE, --package=PACKAGE
specify package name
-a AUTHOR, --author=AUTHOR
specify author name
-v VERSION, --version=VERSION
specify initial version name/numberExample:
--------./create_package.py -p TestPackage -a FirstLastName
Sphinx is detected, will generate docs
sphinx-apidoc -F -H TestPackage -A FirstLastName -V development -o sphinx /Users/vk/Work/Python/GIT/pypc/TestPackage
Creating file sphinx/conf.py.
Creating file sphinx/index.rst.
Creating file sphinx/Makefile.
Creating file sphinx/make.bat.
Created TestPackage directory structure
Created TestPackage/setup.pyYour package structure has been created
Package : TestPackage
Author : FirstLastName
Version : developmentHere is a list of usefull commands:
To build : python setup.py build
To install : python setup.py install --prefix=
To clean : python setup.py clean
To build doc : python setup.py doc
To run tests : python setup.py testoutput of tree command:
TestPackage/
├── bin
├── doc
│ └── sphinx
│ ├── Makefile
│ ├── _build
│ ├── _static
│ ├── _templates
│ ├── conf.py
│ ├── index.rst
│ └── make.bat
├── etc
├── setup.py
├── src
│ └── python
│ └── TestPackage
│ └── __init__.py
└── tests
└── test_t.py