Skip to content

Commit

Permalink
fix python README, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Jan 5, 2025
1 parent 495eaa7 commit 45ed444
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions python/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include README INSTALL LICENSE MANIFEST.in setup.py setup.cfg requirements.txt versioneer.py
include xraydb/xraydb.sqlite xraydb/materials.dat xraydb/*.py tests/*.py
include README INSTALL LICENSE MANIFEST.in setup.py pyproject.toml
include xraydb/xraydb.sqlite xraydb/materials.dat xraydb/*.py examples/*.py tests/*.py
recursive-exclude *.pyc core.* *~ *.pdf
4 changes: 2 additions & 2 deletions python/README
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Python interface to XrayDB: X-ray Reference Data for the Elements

To install, use
python setup.py install
pip install xraydb

License: BSD
License: MIT
Author: Matthew Newville <newville@cars.uchicago.edu>
Center for Advanced Radiation Sources,
The University of Chicago
4 changes: 2 additions & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

# note: this is needed, since the SCM root is '..'
[tool.setuptools_scm]
root = '..'
root = ".."
write_to = "python/xraydb/version.py"
version_scheme = "post-release"

Expand All @@ -23,7 +23,7 @@ name = "xraydb"
dynamic = ["version"]
requires-python = ">= 3.9"
description = "calculations with reference data for X-ray interactions with matter"
readme = "README.rst"
readme = "README"
authors = [
{name = "Matthew Newville", email = "matt.newville@gmail.com"}
]
Expand Down

0 comments on commit 45ed444

Please sign in to comment.