Skip to content

Conversation

@rpanderson
Copy link
Member

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 Support declarative config chrisjbillington/setuptools-conda#1.

setup.cfg Outdated
license = BSD
classifiers =
License :: OSI Approved :: BSD License
Programming Language :: Python :: 2.7
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should consistently remove 2.7 support. At the moment it's been dropped from lyse, runmanager, and runviewer.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrisjbillington chrisjbillington merged commit 3520677 into labscript-suite:master May 18, 2020
@rpanderson rpanderson deleted the declarative-setup branch May 18, 2020 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants