Make RMextract installable through pip, and ready to be published on PyPI.
Changes
setup.py was modified, and new files pyproject.toml and setup.cfg were added.
Extensions EMM, pyiri, and pyiriplas were moved into the RMextract namespace to avoid namespace pollution.
New manylinux2014 directory contains script build.sh to generate portable binary wheels for Linux.
Preparing a release
Preparing a release is still a bit of manual work. Just follow the steps below.
Ensure that the required tools are up-to-date:
python3 -m pip install --upgrade pip build twine
Create a source distribution. From the directory containing setup.py execute the command:
python3 -m build -s
This will create a source tar ball in the dist directory
Create portable binary wheels for Python 3.6, 3.7, 3.8, and 3.9:
manylinux2014/build.sh
And copy the generated *.whl files from the manylinux2014 directory to the dist directory.
Publish your release on PyPI, by uploading the contents of the dist directory:
python3 -m twine upload dist/*
Congratulations, you just created a new official release of RMextract!
Make
RMextract
installable throughpip
, and ready to be published on PyPI.Changes
setup.py
was modified, and new filespyproject.toml
andsetup.cfg
were added.EMM
,pyiri
, andpyiriplas
were moved into theRMextract
namespace to avoid namespace pollution.manylinux2014
directory contains scriptbuild.sh
to generate portable binary wheels for Linux.Preparing a release
Preparing a release is still a bit of manual work. Just follow the steps below.
python3 -m pip install --upgrade pip build twine
setup.py
execute the command:python3 -m build -s
This will create a source tar ball in thedist
directorymanylinux2014/build.sh
And copy the generated*.whl
files from themanylinux2014
directory to thedist
directory.dist
directory:python3 -m twine upload dist/*
Congratulations, you just created a new official release of
RMextract
!