Is there a way to pre-define the python egg name programmatically?

68 views Asked by At
from setuptools import setup, Extension
kwargs = {"name": "foo",
                  "author": "",
                  "version": "1.0",
                  "ext_modules": Extension(name='util/helper/foo', sources=[]),}

setup(**kwargs)

I can only specify pacakge name and version, foo-1.0.0, from the code and setup() is adding stuff on top of it, like py version, cython version, platform, arch.

for example, the egg i get is foo-1.0.0-py3.9-linux-x86_64.egg

how do i get an egg name of foo-1.0.0-py3.egg?

0

There are 0 answers