Skip to content

Commit

Permalink
Drop Python 3.7 support, bump min deps to Ubuntu 22.04.
Browse files Browse the repository at this point in the history
  • Loading branch information
moorepants committed Jun 6, 2024
1 parent fee558c commit 63e7c39
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 23 deletions.
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Directories
Installing
==========

This package was developed for Python 3.7+.
This package was developed for Python 3.8+.

Dependencies
------------
Expand Down Expand Up @@ -107,9 +107,9 @@ This option is required if you want to use `yeadon` in a virtualenv. You can
build the dependencies from source and then install them by using a tool like
`pip`::

$ python -m pip install numpy PyYAML
$ python -m pip install nose sphinx mayavi
$ python -m pip install numpydoc
$ python -m pip install numpy PyYAML # required
$ python -m pip install mayavi # optional
$ python -m pip install nose sphinx numpydoc # development tools

or you can obtain the source code, perhaps from GitHub_, and install the
packages manually.
Expand All @@ -123,13 +123,13 @@ Once you've obtained the dependencies, you can install `yeadon`. The
easiest way to download and install the `yeadon` package is by using a tool
like `pip` to obtain the package from the Python Package Index (PyPi)::

$ python -m pip install yeadon # sudo if system install
$ python -m pip install yeadon

You can also obtain an archive of the package at the Python Package Index
(`<https://pypi.python.org/pypi/yeadon>`_), and then install the package on your
own by executing the following from the root directory of the package::

$ python setup.py install # sudo if system install
$ python setup.py install

On Unix, you can obtain the package source code and install it without leaving
your terminal::
Expand All @@ -138,7 +138,7 @@ your terminal::
$ wget https://pypi.python.org/packages/source/y/yeadon/yeadon-X.X.X.tar.gz
$ tar -zxfv yeadon-X.X.X.tar.gz
$ cd yeadon-X.X.X.tar.gz
$ python setup.py install # sudo if system install
$ python setup.py install

Run the tests with::

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
numpy>=1.16.5
pyyaml>=5.3.1
numpydoc>=0.7.0
numpy>=1.21.5
pyyaml>=5.4.1
numpydoc>=1.2
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
keywords="human inertia yeadon sports biomechanics gymnastics",
license='LICENSE.txt',
packages=find_packages(),
# NOTE : The minimum versions correspond to those in Ubuntu 20.04 LTS.
install_requires=['numpy>=1.16.5',
'pyyaml>=5.3.1'],
# NOTE : The minimum versions correspond to those in Ubuntu 22.04 LTS.
install_requires=['numpy>=1.21.5',
'pyyaml>=5.4.1'],
extras_require={'gui': ['mayavi>=4.7.1'],
'doc': ['sphinx>=1.8.5', 'numpydoc>=0.7.0']},
'doc': ['sphinx>=4.3.2', 'numpydoc>=1.2']},
tests_require=['nose>=1.3.7'],
test_suite='nose.collector',
include_package_data=True,
Expand All @@ -28,10 +28,11 @@
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering :: Physics',
],
],
)
14 changes: 7 additions & 7 deletions yeadon-dev-env.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: yeadon-dev
channels:
- conda-forge
# NOTE : The minimum versions correspond to those in Ubuntu 20.04 LTS.
# NOTE : The minimum versions correspond to those in Ubuntu 22.04 LTS.
dependencies:
- coverage >=4.5.2
- coverage >=6.2
- nose >=1.3.7
- numpy >=1.16.5
- numpydoc >=0.7.0
- pyyaml >=5.3.1
- setuptools >=44.0.0
- sphinx >=1.8.5
- numpy >=1.21.5
- numpydoc >=1.2
- pyyaml >=5.4.1
- setuptools >=59.6.0
- sphinx >=4.3.2

0 comments on commit 63e7c39

Please sign in to comment.