forked from conruggles/python-backgroundchanger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (28 loc) · 998 Bytes
/
setup.py
File metadata and controls
31 lines (28 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import setuptools
try:
import backgroundchanger
except ImportError as ie:
print('An error occurred while trying to import backgroundchanger')
print(ie)
quit(1)
with open('README.md', 'r') as ld:
long_desc = ld.read()
setuptools.setup(
name='backgroundchanger',
version=backgroundchanger.config.VERSION,
author=backgroundchanger.config.AUTHOR,
author_email=backgroundchanger.config.EMAIL,
description='background changer using unsplash API.',
long_description=long_desc,
long_description_content_type="text/markdown",
license='MIT',
url=backgroundchanger.config.URL,
python_requires='>=3.5',
zip_safe=False,
entry_points={'console_scripts': ['backgroundchanger=backgroundchanger.__main__:main']},
packages=setuptools.find_packages(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License'
]
)