need to correct structure to cookiecutter format
https://github.com/audreyr/cookiecutter#python.
The cookiecutter don't have template for aiohttp in repository, yet. So, i wanna add our template. For that repository need have special structure.
hooks/
{project.name}/
cookiecutter.json
But for good install package all data need be localise inside same directory. I have two ways:
- split this repository and use as sub-repository (one only for template and second for util)
- do magic with
setup.py(usecmdclassin setup and rewrite some methods)
@jettify @webknjaz what do u think?
What do you mean by saying localize?
P.S. Don't bring setup-time code into the dist plz.
Current version:
setup.py
package/
addition_data/
additional_data is existing (localized) in package dir.
For correct work cookiecutter we need have other structure:
setup.py
package/
addition_data/
So, if i move addition_data to the root after pip install the addition_data will be exist in site-packages not in site-packages/create-aio-app.
Try symlink, then. Otherwise, follow my initial advice of having separate things separately.
I do not have experience with cookiecutter, but looks like other projects prefer separate repo.
If you guys think that we need separate repo I can handle repo logistics.
That's what I was pointing out since the very beginning. I still think it is a way to go.
good