rs-station / careless

Merge X-ray diffraction data with Wilson's priors, variational inference, and metadata
MIT License
16 stars 6 forks source link

Migrate to toml #162

Closed kmdalton closed 2 months ago

kmdalton commented 2 months ago

careless needs to migrate away from setup.py to a pyproject.toml setup. See the following deprecation warning.

Installing collected packages: careless
  Attempting uninstall: careless
    Found existing installation: careless 0.4.4
    Uninstalling careless-0.4.4:
      Successfully uninstalled careless-0.4.4
  DEPRECATION: Legacy editable install of careless==0.4.4 from file:///global/cfs/cdirs/lcls/careless/careless (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457
  Running setup.py develop for careless
Successfully installed careless-0.4.4
kmdalton commented 2 months ago

resolved by #163