Skip to content

Commit

Permalink
Merge branch 'toolchain' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
RKrahl committed Oct 9, 2024
2 parents 434f850 + 56685c4 commit 27227d6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ New features
:class:`icat.ingest.IngestReader` to make some prescribed values in
the transformation to ICAT data file format configurable.

Bug fixes and minor changes
---------------------------

+ `#162`_: Minor updates in the tool chain

.. _#160: https://github.com/icatproject/python-icat/issues/160
.. _#161: https://github.com/icatproject/python-icat/pull/161
.. _#162: https://github.com/icatproject/python-icat/pull/162


.. _changes-1_4_0:
Expand Down
10 changes: 10 additions & 0 deletions doc/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config

import os
from pathlib import Path
import sys

Expand Down Expand Up @@ -135,6 +136,15 @@ def make_meta_rst(last_release):
#
# html_theme_options = {}

# Define the canonical URL if you are using a custom domain on Read the Docs
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")

# Tell Jinja2 templates the build is running on Read the Docs
if os.environ.get("READTHEDOCS", "") == "True":
if "html_context" not in globals():
html_context = {}
html_context["READTHEDOCS"] = True

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand Down
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from setuptools import setup
import setuptools.command.build_py
import distutils.command.sdist
import distutils.dist
from distutils import log
from pathlib import Path
import string
Expand All @@ -33,6 +34,15 @@
docstring = __doc__


# Enforcing of PEP 625 has been added in setuptools 69.3.0. We don't
# want this, we want to keep control on the name of the sdist
# ourselves. Disable it.
def _fixed_get_fullname(self):
return "%s-%s" % (self.get_name(), self.get_version())

distutils.dist.DistributionMetadata.get_fullname = _fixed_get_fullname


class meta(setuptools.Command):

description = "generate meta files"
Expand Down

0 comments on commit 27227d6

Please sign in to comment.