labscript-suite / labscript

The 𝗹𝗮𝗯𝘀𝗰𝗿𝗶𝗽𝘁 library provides a translation from expressive Python code to low-level hardware instructions.
http://labscriptsuite.org
BSD 2-Clause "Simplified" License
9 stars 51 forks source link

Declarative setup #58

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.
chrisjbillington commented 4 years ago

Looks great!