|
1 | 1 | from setuptools import setup, find_packages |
2 | 2 | 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' |
15 | 3 |
|
16 | 4 | with open("README.md", "r") as fh: |
17 | 5 | long_description = fh.read() |
18 | 6 |
|
19 | 7 | setup( |
20 | 8 | name='venuspy', |
21 | | - version='0.1.6', |
| 9 | + version='0.1.7', |
22 | 10 | author="Alfredo Sequeida", |
23 | 11 | description='A cross platform tool for setting a random wallpaper image from unsplash.com', |
24 | 12 | long_description=long_description, |
25 | 13 | long_description_content_type="text/markdown", |
26 | 14 | 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', |
28 | 16 | keywords ='wallpaper unsplash randomwallpaper', |
29 | 17 | platforms ='any', |
30 | 18 | classifiers=[ |
|
44 | 32 | ], |
45 | 33 | license='MIT', |
46 | 34 | 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 | + ], |
48 | 40 | include_package_data=True, |
49 | 41 | install_requires=[ |
50 | 42 | 'requests', |
|
0 commit comments