I am trying to include the dependency to protobuf for python with no 
binary, and am packaging my library with a setup.py file. I am using the 
below code:

from setuptools import setup, find_packages 
setup( name='your package`, 
 version='0.1', 
 packages=find_packages(),
 install_requires=
[    
'protobuf@https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protobuf-python-3.17.3.tar.gz'
 
]
 )

However it gives the error message "no pyproject.toml or setup.py file 
found". i have tried various versions/releases of protobif with the same 
error.

When I try to download it manually, I have to first go into the python 
folder before I can see the setup.py and I assume that extra step is what's 
causing the issue?

Would you be able to assist how I can go about installing the package with 
no binary to avoid this issue?

Kind regards,
Sonja

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/e270d4ba-f243-4b5e-8cf3-0e03fef747d1n%40googlegroups.com.

Reply via email to