Git Product home page Git Product logo

pydeb-cookiecutter's Introduction

Quick and easy Debian packaging for Python Modules

First

sudo apt -y install cookiecutter
cookiecutter https://github.com/openstack-charmers/pydeb-cookiecutter

Answer the questions; this will generate a basic Python package.

Then:

  • Review the Build-Depends-Indep in d/control - your package will probably need more that 'mock' - remember to add python and python3 versions of each one.

  • Review the d/copyright file - copyright will need documenting for upload to Ubuntu in the longer term so needs to be completed based on the information in the source files for the module.

asciicast

pydeb-cookiecutter's People

Contributors

javacruft avatar

Stargazers

Thomas Cuthbert avatar Lena Voytek avatar Philip Roche avatar Chris MacNaughton avatar Risyandi avatar Aurélien Lourot avatar

Watchers

 avatar Alex Kavanagh avatar James Cloos avatar Corey Bryant avatar Liam Young avatar Frode Nordahl avatar

Forkers

coreycb

pydeb-cookiecutter's Issues

I can't use this cookiecutter.

This is not working, or maybe I'm doing something wrong:

$ cookiecutter https://github.com/openstack-charmers/pydeb-cookiecutter
You've downloaded /home/abc/.cookiecutters/pydeb-cookiecutter before. Is it okay to delete and re-download it? [yes]: n
Do you want to re-use the existing version? [yes]: yes
modulename [replace with the name of the python module]: mymod
repo_name [replace with the name for the package git repo]: gitreso
homepage [replace with the homepage of the upstream project]: homep
project_short_description [OpenStack Boilerplate contains all the boilerplate you need to create an OpenStack package.]: short desc
project_long_description [OpenStack Boilerplate contains all the boilerplate you need to create an OpenStack package.]: long desc
version [version of module to package]: v01
maintainer [name and email address of maintainer]: f
Initialized empty Git repository in /tmp/tmp.tx2FxAPSMK/gitreso/.git/
[master (root-commit) e7660ca] Initial Cookiecutter Commit.
 8 files changed, 73 insertions(+)
 create mode 100644 debian/changelog
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/gbp.conf
 create mode 100755 debian/rules
 create mode 100644 debian/source/format
 create mode 100644 debian/source/options
 create mode 100644 debian/watch
Switched to a new branch 'upstream'
rm 'debian/changelog'
rm 'debian/control'
rm 'debian/copyright'
rm 'debian/gbp.conf'
rm 'debian/rules'
rm 'debian/source/format'
rm 'debian/source/options'
rm 'debian/watch'
[upstream (root-commit) cb10bef] Initial upstream branch.
error: pathspec 'main' did not match any file(s) known to git
dpkg-parsechangelog: error: cannot open file debian/changelog: No such file or directory
dpkg-parsechangelog: error: cannot open file debian/changelog: No such file or directory
/tmp/tmpfm6zdraj.sh: 16: uscan: not found
/tmp/tmpfm6zdraj.sh: 17: gbp: not found
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 127)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.