Skip to main content

Various system tools for Linux

Project description

python-pywana

Build Status

Requirements

Howto

On Debian Stretch:

# Fetch dependencies
sudo apt-get install python3-pip python3-gi python3-dbus python3-psutil

# Install via PyPI
pip3 install --no-deps pywana
# option --no-deps is required because pip falsely assumes that dbus-python is
# not installed although it has been installed via debian package python3-dbus

# Execute
wana --help

Build and upload package to PyPI manually

Ref.: https://github.com/pypa/twine https://www.davidfischer.name/2012/05/signing-and-verifying-python-packages-with-pgp/

# Install python and build tools
sudo apt-get install python3 python3-pip
pip3 install twine

# Install project dependencies
# NOTE: libdbus-1-dev (>= 1.8) is required for building dbus-python
sudo apt-get install python3-dev libdbus-1-dev python3-gi
pip3 install -r requirements.txt
# instead of pip3 you can also install all required modules using your system package manager
sudo apt-get install python3-gi python3-dbus python3-psutil

# Create distributions
python3 setup.py build_all

# Sign distributions
gpg --detach-sign --armor dist/*

# Upload to Test PyPI
twine upload --repository-url https://test.pypi.org/legacy/ dist/*

# Upload to PyPI:
twine upload dist/*

Change PyPI password in .travis.yml

NOTE: Travis CI does not allow for signing PyPI packages!

# Install Travis CI Client
# Ref.: 
#  https://github.com/travis-ci/travis.rb
#  https://docs.travis-ci.com/user/encryption-keys/
#  https://medium.com/@mikkokotila/deploying-python-packages-to-pypi-with-travis-works-9a6597781556
gem install travis
travis login --pro
# cd to git repo
travis encrypt --pro --add deploy.password

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywana-2018.0.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

pywana-2018.0.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pywana-2018.0.0.tar.gz.

File metadata

  • Download URL: pywana-2018.0.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3

File hashes

Hashes for pywana-2018.0.0.tar.gz
Algorithm Hash digest
SHA256 b06d8bd40453676643bc932bd4292434eed23d9b0296c86041583a79b56ba22e
MD5 48c9f11433e737b237e35fb0684c7124
BLAKE2b-256 37f37f26c7138d689cd13d96a7151bfe0a133b15b64481e11638078c0114c106

See more details on using hashes here.

File details

Details for the file pywana-2018.0.0-py3-none-any.whl.

File metadata

  • Download URL: pywana-2018.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3

File hashes

Hashes for pywana-2018.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7bd58f592cfbfdff043d0ba5d0b62eb98571f56d98605a4d799fe40ff6459b6
MD5 86438148ab35eca86bdd080a5b43ffae
BLAKE2b-256 c9835f2ac2a5b068f172f94483a3927d5e420f1d3a496fb45da80a5b94c82c75

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page