labscript-suite / labscript-devices

A modular and extensible plugin architecture to control experiment hardware using the 𝘭𝘒𝘣𝘴𝘀𝘳π˜ͺ𝘱𝘡 𝘴𝘢π˜ͺ𝘡𝘦.
http://labscriptsuite.org
Other
5 stars 58 forks source link

Declarative setup #45

Closed rpanderson closed 4 years ago

rpanderson commented 4 years ago

This PR introduces setup.cfg and makes setup.py as simple as possible, containing only programmatic overrides.

  1. This allows setup.py to be identical (or near-identical) for all packages in the labscript suite.
  2. Only additions in setup.cfg to existing configuration are:
    • Explicit version_scheme and local_scheme for setuptools_scm, overridden by environment variables SCM_VERSION_SCHEME and SCM_LOCAL_SCHEME, respectively, in anticipation of automated release process. (Default version_scheme will be updated to release-branch-semver upon next release of setuptools_scm.)
    • Added keywords and classifiers to metadata.
    • Reworded description.
    • Added 'Source Code', 'Download', and (issue) 'Tracker' URLs to metadata to adorn PyPI sidebar.
  3. Regarding building conda distributions, see chrisjbillington/setuptools_conda#1.