Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.rst

Since one year, i create more and more python projects. That for this reason i have decided create a Python template. This template is ready for create a Python project with:

Howto use

Here the steps for create a new python project

  1. Clone the python-project-template and replace projectname by your project name you want:

    cd your_root_projects_directories
    git clone https://github.com/badele/python-project-template.git projectname
    cd projectname
    
  2. Edit the PROJECT variables in the initproject.py and run:

    ./initproject.py
    rm ./initproject.py
    
  3. Verify the personal text in this files:

    README.rst
    LICENSE
    CHANGELOG.txt
    setup.py
    
  4. Reinit git repository:

    rm -rf .git && git init
    
  5. (Optional) install virtualenv:

    mkvirtualenv --no-site-packages -p /usr/bin/python2.7 env_projectname
    
  6. (Optional) Run the minimal test:

    pip install -r requirements/test.txt
    make test
    
  7. (Optional) Test minimal application:

    make install
    projectname -h
    

About

A Python project template

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.