3/14/2023 0 Comments Install cellprofiler conda![]() The table below tries to summarize the differences. Some have similar features but the declarative syntax differs Some tools support features others don’t Still this has lead to some confusion and feature incompatibilities: Position of de facto standard, has gradually integrated those 2015.Īs a way to harmonize packaging tools, setuptools, having held the To distutils, but has had no release since Oct. Other include pbr which is still under active development orĭ2to1, which was a plug-in that backports declarative configuration One of the first was distutils2, which development has stopped inĢ013. And several of them chose to place the packagingĬonfiguration within the project’s setup.cfg file. Historically, several tools explored declarative package configuration ![]() Library developers should avoid tightly pinning their dependencies to a specific However please keep in mind that all non-comment lines must conform with PEP 508 The format for the file resembles a requirements.txt file, ( 1, 2)įile: directives for reading requirements are supported since version 62.6. Check the Python Packaging User Guide for more information. Namespace_packages is deprecated in favour of native/implicit Please check Data Files Support for more information. ĭata_files is deprecated and should be avoided. rest = docutils>=0.3 pack =1.1, =1.3 pdf = ReportLab> = 1.2 RXP importlib-metadata python_version =3.3. If that fails, attr: falls back to importing the module.įile: - Value is read from a list of files and then concatenated In a module containing (directly or indirectly) third-party imports,Īttr: first tries to read the value from the module by examining the In order to support the common case of a literal value assigned to a variable attr: supportsĬallables and iterables unsupported types are cast using str(). Section - values are read from a dedicated (sub)sectionĪttr: - Value is read from a module attribute. If an entry starts with =, the key is assumed to be an empty string List-semi - dangling list or string of semicolon-separated valuesĭict - list-comma where each entry corresponds to a key/value pair, List-comma - dangling list or string of comma-separated values Some values are treated as simple strings, some allow more logic. Value associated with "" in the package_dir dictionary. Packages are contained inside the given directory.Īlso note that the value for where matches the The "" key has a special meaning in this context, and indicates that all the In this example, the value for the package_dirĬonfiguration (i.e. package_dir = src packages = find: where = src ![]() # This example contains just the necessary options for a src-layout, set up # the rest of the file as described above. Keys are the same as the keyword arguments oneĬomplex values can be written comma-separated or placed one per line Metadata and options are set in the config sections of the same name. Name = my_package version = attr: my_package.VERSION description = My package description long_description = file: README.rst, CHANGELOG.rst, LICENSE.rst keywords = one, two license = BSD 3-Clause License classifiers = Framework :: Django Programming Language :: Python :: 3 zip_safe = False include_package_data = True packages = find: install_requires = requests importlib-metadata python_version=1.2 RXP rest = docutils>=0.3 pack =1.1, =1.3 exclude = examples* tools* docs* my_package.tests*
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |