If I run
python setup.py sdist
I get
error: Invalid distribution name or version syntax
My folder structure is the following:
diffusion2d/
├── setup.cfg
├── setup.py
├── README.md
├── carme-hp-diffusion2d/
│ ├── difussion2d.py
│ └── output.py
In setup.py I have:
from setuptools import setup
setup()
And in setup.cfg I have:
[metadata]
name="carme-hp-diffusion2d"
version="0.0.1"
author="Carme Homs-Pons"
url="https://github.com/carme-hp/diffusion2D?organization=carme-hp&organization=carme-hp"
description="A introduction to packaging using a diffusion2d example"
I can make it work by moving name="carme-hp-diffusion2d" to setup.py or just by removing the name tag, in which case the default name tag UNKNOWN is used.
If I run
python setup.py sdistI get
error: Invalid distribution name or version syntaxMy folder structure is the following:
In
setup.pyI have:And in
setup.cfgI have:I can make it work by moving
name="carme-hp-diffusion2d"tosetup.pyor just by removing the name tag, in which case the default name tag UNKNOWN is used.