Skip to content

Commit 7ab25b3

Browse files
fixed install for non linux systems
1 parent 4f7b878 commit 7ab25b3

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ WAIT_TIME = 60
8989
9090

9191

92-
Current Verion 0.1.6 - verified working on
92+
Current Verion 0.1.7 - verified working on
9393
-----------------
9494
- [x] Arch Linux [Feh 2.28]
9595
- [x] Ubuntu 18.04.1 LTS [Gnome 3.28]

setup.py

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,18 @@
11
from setuptools import setup, find_packages
22
import os
3-
import sys
4-
5-
platform = sys.platform
6-
7-
platform_file = ''
8-
9-
if 'linux' in platform:
10-
platform_file = 'venus/os_tools/linux.py'
11-
elif 'win32' in platform:
12-
platform_file = 'venus/os_tools/windows.py'
13-
elif 'darwin' in platform:
14-
platform_file = 'venus/os_tools/darwin.py'
153

164
with open("README.md", "r") as fh:
175
long_description = fh.read()
186

197
setup(
208
name='venuspy',
21-
version='0.1.6',
9+
version='0.1.7',
2210
author="Alfredo Sequeida",
2311
description='A cross platform tool for setting a random wallpaper image from unsplash.com',
2412
long_description=long_description,
2513
long_description_content_type="text/markdown",
2614
url='https://github.com/AlfredoSequeida/venus',
27-
download_url='https://github.com/AlfredoSequeida/venus/archive/0.1.6.tar.gz',
15+
download_url='https://github.com/AlfredoSequeida/venus/archive/0.1.7.tar.gz',
2816
keywords ='wallpaper unsplash randomwallpaper',
2917
platforms ='any',
3018
classifiers=[
@@ -44,7 +32,11 @@
4432
],
4533
license='MIT',
4634
packages=['venus'],
47-
scripts=[platform_file],
35+
scripts=[
36+
'venus/os_tools/linux.py',
37+
'venus/os_tools/darwin.py',
38+
'venus/os_tools/windows.py',
39+
],
4840
include_package_data=True,
4941
install_requires=[
5042
'requests',

venus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22

3-
__version__ = "0.1.6"
3+
__version__ = "0.1.7"
44

55
dir_path_to_conf = os.path.join(os.path.expanduser('~'), '.config/venus')
66

0 commit comments

Comments
 (0)