com description = A small example package long_description = file : README. name = example - package - YOUR - USERNAME - HERE version = 0.0.1 author = Example Author author_email = author. setup.py used toīe required, but can be omitted with newer versions of setuptools and pip. Should be used only as an escape hatch when absolutely necessary. Static metadata ( setup.cfg) should be preferred. Any items that areĭynamic or determined at install-time, as well as extension modules orĮxtensions to setuptools, need to go into setup.py. Simpler, easier to read, and avoids many common errors, like encoding errors.ĭynamic metadata ( setup.py): possibly non-deterministic. Static metadata ( setup.cfg): guaranteed to be the same every time. There are two types of metadata: static and dynamic. See PEP 517 and PEP 518 for background and details. Would be completely different than the setuptools configuration described If you were to use a different build system, such asįlit or poetry, those would go here, and the configuration details Listing something here will only make it available during the build,īuild-system.build-backend is the name of Python object that will be used to Requires = build-backend = "setuptools.build_meta"īuild-system.requires gives a list of packages that are needed to build your
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |