-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
43 lines (37 loc) · 1.11 KB
/
setup.py
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
# -*- coding: utf-8 -*-
# WakeOnLAN-API
# Project by https://github.com/rix1337
import setuptools
from wol_api.providers.version import get_version
try:
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
except:
import io
long_description = io.open('README.md', encoding='utf-8').read()
with open('requirements.txt') as f:
required = f.read().splitlines()
setuptools.setup(
name="wol_api",
version=get_version(),
author="rix1337",
author_email="",
description="A simple http interface to send wake on LAN commands.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/rix1337/WakeOnLAN-API",
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=required,
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': [
'wol_api = wol_api.run:main',
],
},
)