# Run from git

## To run Nicotine+ from git master:

## GNU/Linux

* Install all the required dependencies:

    * On Redhat/Fedora based distributions:

    `sudo dnf install pygtk2 python-mutagen`

    * On Debian/Ubuntu based distributions:

    `sudo apt-get install python-gtk2 python-mutagen`

* Check that the python version you are using is 2.7.X via `python -V`.

* In the git root folder run `python nicotine`.

## Windows

* Install all the required dependencies:

    * [Python 2.7.X](https://www.python.org/downloads/windows/) **(32bits version)**.

    * [PyGTK 2.24.X](http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/) **(will not found python install path if you're using python x86-64)**.

    * [mutagen](https://github.com/quodlibet/mutagen) via pip: `python.exe -m pip install mutagen`.


* Launch Nicotine+ either via:

    * Right click =>  'Open with' and find `python.exe` in `C:\Python27`.
    * From the git root folder run via cmd.exe or Powershell `python.exe nicotine`.

## Optional dependencies

* On Redhat/Fedora based distributions:

    `sudo dnf install notify-python python-GeoIP python-miniupnpc`


* On Debian/Ubuntu based distributions:

    `sudo apt-get install python-notify python-geoip python-miniupnpc`


* On Windows:

    * The miniupnpc client is now included in the `files/win32/upnpc` subdirectory and should work out of the box.

    * Directories beginning with a dot '.' are not shared on any OS.

    Additionally if you want your hidden directories (Windows attribute) not to be shared you should install 'Python for Windows Extensions' via pip:

    `python.exe -m pip install pypiwin32`
    * Other optional dependencies: I'm working on it :)
