Skip to content

Commit be626be

Browse files
committed
Merge remote-tracking branch 'origin/modernize-setup'
2 parents 5c94075 + 8a967a9 commit be626be

File tree

74 files changed

+1500
-1741
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1500
-1741
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ __pycache__/
88
*.py[cod]
99
*$py.class
1010
.pybuild/
11+
variety/locale
1112

1213
# C extensions
1314
*.so

README.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ sudo apt install variety-slideshow
6060
To build Variety from source, you will need the following:
6161

6262
- setuptools
63-
- [python-distutils-extra](https://launchpad.net/python-distutils-extra)
63+
- setuptools-gettext
6464

6565
#### Runtime Requirements
6666

@@ -69,16 +69,7 @@ To actually run Variety, you will also need the following:
6969
- GTK+ 3
7070
- gexiv2
7171
- libnotify
72-
- Python 3 libraries:
73-
- BeautifulSoup4
74-
- lxml
75-
- Pycairo
76-
- PyGObject, built with Cairo integration
77-
- ConfigObj
78-
- Pillow
79-
- packaging
80-
- Requests
81-
- *Optional*: httplib2 (for more quotes sources)
72+
- Python libraries: see `requirements.txt`
8273
- *Optional*: imagemagick (for wallpaper filters)
8374
- *Optional*: feh or nitrogen: used by default to set wallpapers on i3, openbox, and other WMs
8475
- *Optional*: libayatana-appindicator (for AppIndicator support)
@@ -92,14 +83,16 @@ See `debian/control` for an equivalent list of runtime dependencies on Debian/Ub
9283

9384
1. Clone the git repository: `git clone https://github.com/varietywalls/variety.git && cd variety`
9485

95-
2. Run `python3 setup.py install`. By default, this will install Variety into `/usr/local`; for a local installation, use `python3 setup.py install --prefix $HOME/.local`.
86+
2. Create a virtualenv: e.g. `python3 -m venv --system-site-packages ~/variety-venv`.
9687

97-
3. Run `variety` from the command line or its desktop menu entry.
88+
3. Enable the virtualenv: `source ~/variety-venv/bin/activate`
89+
90+
4. Install variety inside the virtualenv: `pip install -e .`
91+
92+
5. Run `variety` from the command line or its desktop menu entry.
9893

9994
## Launching
10095

10196
Regardless of how you install, you can launch Variety from the dash or applications menu, or by running `variety` in a terminal.
10297

10398
Run `variety --help` to see the command-line options. They allow you to control Variety from the terminal.
104-
105-

bin/variety

Lines changed: 0 additions & 66 deletions
This file was deleted.

data

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
variety/data

data/media/sfw-0.svg

Lines changed: 0 additions & 68 deletions
This file was deleted.

data/media/sfw-100.svg

Lines changed: 0 additions & 69 deletions
This file was deleted.

data/media/sfw-50.svg

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)