Skip to content

Commit

Permalink
Merge pull request #345 from bashtage/final-update
Browse files Browse the repository at this point in the history
DOC: Start docs for release
  • Loading branch information
bashtage authored Sep 20, 2023
2 parents 47cdd28 + 668feb9 commit c45eb27
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ freebsd_task:
name: FreeBSD 13.2
freebsd_instance: {image_family: freebsd-13-2}
install_script: . ./ci/cirrus/cirrus-install-freebsd.sh
script: mkdir test_dir && cd test_dir && echo $PWD && python3.9 -c "import randomgen; randomgen.test([])"
test_script: mkdir test_dir && cd test_dir && echo $PWD && python3.9 -m pip list && python3.9 -c "import randomgen; randomgen.test(['-n', '2'])"

linux_arm_task:
name: Linux-ARM
arm_container: {image: python:slim}
install_script: . ./ci/cirrus/cirrus-install-arm.sh
script: mkdir test_dir && cd test_dir && echo $PWD && python3 -c "import randomgen; randomgen.test([])"
test_script: mkdir test_dir && cd test_dir && echo $PWD && python3 -c "import randomgen; randomgen.test(['-n', '2'])"
2 changes: 1 addition & 1 deletion ci/cirrus/cirrus-install-arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apt-get update -y
apt-get install build-essential git -y
python3 -m ensurepip --upgrade
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade --upgrade pip setuptools wheel pytest pytest-xdist packaging
python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements-dev.txt
python3 -m pip list
Expand Down
3 changes: 1 addition & 2 deletions ci/cirrus/cirrus-install-freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@

pkg install -y python39 py39-numpy py39-cython wget git
python3.9 -m ensurepip --upgrade
python3.9 -m pip install --upgrade pip
python3.9 -m pip install wheel "setuptools_scm[toml]>=7.1.0,<8.0.0" pytest packaging
python3.9 -m pip install --upgrade pip setuptools wheel "setuptools_scm[toml]>=7.1.0,<8.0.0" pytest pytest-xdist packaging
python3.9 -m pip list
git fetch --tags
python3.9 -m pip install . --no-build-isolation -vv
Expand Down
4 changes: 4 additions & 0 deletions doc/source/change-log.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Change Log
You should be using :class:`numpy.random.Generator` or
:class:`numpy.random.RandomState` which are maintained.

v1.26.0
=======
- This is place holder for the coming release.

v1.23.1
=======
- Registered the bit generators included in ``randomgen`` with NumPy
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from setuptools import Distribution, find_namespace_packages, setup
from setuptools import Distribution, find_namespace_packages, find_packages, setup
from setuptools.extension import Extension

import glob
Expand Down Expand Up @@ -346,7 +346,9 @@ def is_pure(self):
force=CYTHON_COVERAGE or DEBUG,
gdb_debug=DEBUG,
),
packages=find_namespace_packages(include=["randomgen.*"]),
packages=sorted(
set(find_packages() + find_namespace_packages(include=["randomgen.*"]))
),
package_dir={"randomgen": "./randomgen"},
package_data={
"": ["*.h", "*.pxi", "*.pyx", "*.pxd", "*.in", "py.typed"],
Expand Down

0 comments on commit c45eb27

Please sign in to comment.