Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Release your library by using the command: irelease
or pyrelease
Star this repo if you like it! ⭐️
irelease is Python package that will help to release your python package on both github and pypi. A new release of your package is created by taking the following steps:
Extract the version from the init.py file
Remove old build directories such as dist, build and x.egg-info
Git pull (to make sure all is up to date)
Get latest release version at github
Check if the local (current) version is newer then the latest github release.
1. Make new wheel, build and install package
2. Set tag to newest version
3. Push to git
4. Upload to pypi (credentials for pypi required)
pip install irelease
git clone https://github.com/erdogant/irelease.git
cd irelease
python setup.py install
Go to the directory where the package is you want to release and simply run release
:
$ irelease
The following arguments are availble:
# Github name
irelease -u <githubname>
# Package name your want to release
irelease -p <packagename>
# Removing local builds:
# 1: Yes
# 0: No
irelease -c 1
# Verbosity messages:
# 0: No messages
# 1: Error only
# 2: Warnings and above
# 3: Regular messages and above
# 4: Debug and above
# 5: Trace and above
irelease -v 5
# Twine path for to irelease at pypi. This is automatically determined if standard installation is performed.
irelease -t 'C://<username>/AppData/Roaming/Python/Python36/Scripts/twine.exe'
Your package to-be-published must have the correct structure. At least these files and folders are expected:
<any_dirname>/
├── <package_dir>/
│ ├── __init__.py
│ ├── package_name.py
│ ├── ...
├── .gitignore
├── LICENSE
├── README.md
├── requirements.txt
├── setup.py
└── ...
bnlearn/
├── bnlearn/
│ ├── __init__.py
│ ├── bnlearn.py
├── .gitignore
├── LICENSE
├── README.md
├── requirements.txt
├── setup.py
$ irelease
release with your specified arguments
# Package can be specified:
$ bnlearn>irelease -p bnlearn
# Username can be specified:
$ bnlearn>irelease -u erdogant
# Cleaning of previous builds in directory can be disabled
$ bnlearn>irelease -c 0
FAQs
irelease is an Python package to release your package.
We found that irelease demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.