This my first time creating a python package and I am trying to host it on github so I can use it in my code
Its just a simple module with one file, but when I install it with pip install -r requirements.txt the metadata folder is showing up in the site-packages but not my actual module file singleton.py. Hence I cannot do import singleton
My pyproject.toml
[build-system]
requires = [
"setuptools>=57",
]
build-backend = "setuptools.build_meta"
My setup.cfg
[metadata]
name = singleton
version = 1.0.0
url = https://github.com/syntapy/singleton
[options]
package_dir =
=src
packages=find:
[options.packages.find]
where=src
I've tried following the 'using a src/ layout' in the Configuring setup() using setup.cfg files documentation, both with find and with singleton but it doesn't work
What am I doing wrong here?
Thank you in advance for any help