-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (60 loc) · 1.84 KB
/
setup.py
File metadata and controls
66 lines (60 loc) · 1.84 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"""
licht - setup
@author: phdenzel
"""
import os
from setuptools import setup
from setuptools import find_packages
ld = {}
if os.path.exists("README.md"):
ld['filename'] = "README.md"
ld['content_type'] = "text/markdown"
elif os.path.exists("readme_src.org"):
ld['filename'] = "readme_src.org"
ld['content_type'] = "text/plain"
with open(file=ld['filename'], mode="r") as readme_f:
ld['data'] = readme_f.read()
setup(
# Metadata
name="licht",
author="Philipp Denzel",
author_email="phdenzel@gmail.com",
version="0.1.dev1",
description=("A simple controller applet for Hue lights!"),
long_description=ld['data'],
long_description_content_type=ld['content_type'],
license='GNU General Public License v3.0',
url="https://github.com/phdenzel/licht",
# keywords="",
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
# Package
install_requires=['requests',
'pyyaml',
'pycairo',
'pygobject',
],
packages=['licht'],
python_requires=">=3.6",
entry_points={
'console_scripts': [
'licht = licht.__main__:main',
],
},
data_files=[
('assets', ['assets/licht_icon.svg', 'assets/licht_icon_dark.svg'])
],
# setup_requires=['pytest-runner'],
# tests_require=['pytest'],
# test_suite='tests'
)