Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Neeratyoy opened this issue Jun 14, 2022 · 2 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@Neeratyoy
Copy link

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.

@Neeratyoy Neeratyoy added bug Something isn't working documentation Improvements or additions to documentation labels Jun 14, 2022
@Neeratyoy
Copy link
Author

Is there a contributing guideline?
I could try to work on the instructions to incorporate the template?

@renesass
Copy link
Contributor

renesass commented Jul 4, 2022

That would be super nice!

I do the following to integrate it:

  • Create new branch in existing project
  • Remove files and copy the automl template files
  • Execute generate.py
  • Merge changes to desired branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants