How to Install and Uninstall python-versiontools Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 28,2024

1. Install "python-versiontools" package

Please follow the step by step instructions below to install python-versiontools on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-versiontools

2. Uninstall "python-versiontools" package

This is a short guide on how to uninstall python-versiontools on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-versiontools $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-versiontools package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-versiontools
Priority: optional
Section: universe/python
Installed-Size: 67
Maintainer: Ubuntu Developers
Original-Maintainer: Benjamin Drung
Architecture: all
Source: versiontools
Version: 1.9.1-2
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/v/versiontools/python-versiontools_1.9.1-2_all.deb
Size: 12292
MD5sum: f781710a5bf66c199bb7c3ffaf2d1dd4
SHA1: 4058b8645ebdf6b2b737b964908220002021cc1d
SHA256: 9555d26572d37643406ab3436868024813168d834bb3a60398bc9f9db3aa35a5
Description-en: Smart replacement for plain tuple used in __version__ (Python 2)
versiontools is a Python module providing a smart replacement for plain tuple
used in __version__. It has following features:
.
* A piece of code that allows you to keep a single version definition inside
your package or module. No more hacks in setup.py, no more duplicates in
setup.py and somewhere else. Just one version per package.
* Version objects can produce nice version strings for released files that
are compliant with PEP 386. Releases, alphas, betas, development snaphots.
All of those get good version strings out of the box.
* Version objects understand the VCS used by your project. Git, Mercurial and
Bazaar are supported out of the box. Custom systems can be added by 3rd
party plugins.
* Version object that compares as a tuple of values and sorts properly.
* Zero-dependency install! If all you care about is handling setup() to get
nice tarball names then you don’t need to depend on versiontools (no
setup_requires, no install_requires!). You will need to bundle a small
support module though.
.
This is the Python 2 version of the package.
Description-md5: f5ffa2bf5004bb0d089ca93c6d11313c
Homepage: https://launchpad.net/versiontools
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu