How to use the distutils2.setup function in Distutils2

To help you get started, we’ve selected a few Distutils2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ryppl / __legacy / src / ryppl / canonical_setup.py View on Github external
maintainer = m.maintainer,
            maintainer_email = m.maintainer_email,
            url = m.project_url,
            description = m.summary,
            long_description = m.description,
            keywords = ' '.join(m.keywords),
            platforms = m.platform,
            classifiers = m.classifier, 
            download_url = m.download_url,
            install_requires = m.requires_dist or m.requires,
            provides = m.provides_dist or m.provides,
            obsoletes = m.obsoletes_dist or m.obsoletes,
          )

# Call setup with keyword arguments corresponding to the metadata
setup( **metadata_to_setup_keywords(metadata) )