Hello,
I have created a small package in python with all my favorite functions.
It is in a folder called myfunctions with the good init.py and folder structure.
I would like to use it in other projects and to be able to install it through my git with a pip install git+ command.
I have tried to create a setup.py. It seems to work, when I pip install it starts installing dependencies but after some times it complains about trying to install python-template.
I presume there is something wrong, my setup.py is on the root folder of my repl.
Does someone already managed to make a package on repl to be installed on another repl from GitHub ? Can you give me an example ?
@fvillemin The reason it is installing python-templete is because of the pyproject.toml file.
Just to be safe, I use both setup.py and pyproject.toml. @Firepup650 gave me the contents of a good package’s pyproject.toml.
I made a package, view it here (for the pyproject etc): https://replit.com/@NateDhaliwal/natedhaliwal