Skip to content

Relative path edit required when moving the template to an existing repo #11

@Neeratyoy

Description

@Neeratyoy

I had an existing repo which I wanted to make into a package template.

I followed these steps:

  • Cloned this repo and renamed it to my package git folder name
  • Executed generate.py as a package
  • Renamed this repo and cloned the original repo I wanted to update
  • Copied all new files from the template to the original repo
  • Created a new environment to test pip install . or python setup.py install

Got an error at this last step to fix which:

  • Needed to change the relative paths to README and requirements as they were going up a directory somehow using ../ to look for these files

Also, it might be good to have some instructions/guide on how to incorporate a template into an existing repo/package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions