Skip to content

Commit

Permalink
Added PyPI installation instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
P403n1x87 committed Jul 13, 2018
1 parent 098442e commit 78a4d1b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include LICENSE
include README.md
recursive-include *.h
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,28 @@ contribute to this project!

## Installation

### Ubuntu
Currently, blighty needs to be built from its source code. The following
installation instructions have been tested on Ubuntu 18.04. If you are using a
different distribution, make sure that you install all the listed dependencies
from your package repository.

The following commands will install blighty along with its dependencies.
To install the required dependencies, use the following command

~~~
sudo apt install xorg libcairo2-dev python3-gi gir1.2-gtk-3.0 gir1.2-glib-2.0
sudo -H python3 -m pip install git+https://github.com/P403n1x87/blighty.git
~~~

To install blighty from PyPI, use the command

~~~
sudo -H python3 -m pip install blighty --upgrade
~~~

Should you encounter any problems installing blighty from PyPI, then install it
directly from GitHub with the following command.

~~~
sudo -H python3 -m pip install git+https://github.com/P403n1x87/blighty.git --upgrade
~~~


Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
extra_compile_args = ['-std=c99'],
sources = [
'blighty/x11/_x11module.c',
'blighty/x11/base_canvas.c',
'blighty/x11/atelier.c',
'blighty/x11/base_canvas.c',
]
)


setup(
name = 'blighty',
version = '2.0.1',
version = '2.1.0',
description = 'Desktop Widget Manager. Think of conky, but with Python instead of Lua.',
long_description = open('README.md').read(), long_description_content_type='text/markdown',
author = 'Gabriele N. Tornetta',
Expand Down

0 comments on commit 78a4d1b

Please sign in to comment.