ansys / pyansys-protos-generator

Automatically generate a python package from protofiles stored according to gRPC protofile conventions
3 stars 1 forks source link

Can't pip install because of version #2

Closed jleonatti closed 3 years ago

jleonatti commented 3 years ago

https://github.com/pyansys/pyansys-protos-generator/blob/c54030c0bb256a422545ed6cd16ab1400f0b761b/README.rst#L10-L14

Running this command locally gives me an error:

image

I noticed that the version is originally set to None in the setup.py. Is it trying to read the version from the VERSION file? If so, I don't think it ever gets set.

https://github.com/pyansys/pyansys-protos-generator/blob/c54030c0bb256a422545ed6cd16ab1400f0b761b/setup.py#L11-L15

akaszynski commented 3 years ago

This is failing because it's not a pip package (yet). README will be accurate once we've actually released it as a package.

You can still install this as a package by:

git clone https://github.com/pyansys/pyansys-protos-generator/
cd pyansys-protos-generator
pip install -e .

Remove the -e flag if you don't want to be in "development" mode.