-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
setup.py
executable file
·41 lines (39 loc) · 1.31 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
#!/usr/bin/env python3
from distutils.core import setup
from sftdyn import VERSION
from sys import version_info
if version_info[0] < 3:
print("use python3 to install sftdyn (e.g. pip3)")
exit(1)
setup(
name="sftdyn",
version=VERSION,
description="HTTP(S)-based dynamic DNS updater server",
long_description="dyndns.org-like service that accepts update requests " +
"via HTTP(S) and forwards them to a locally running " +
"DNS server via nsupdate -l.\n" +
"Works with most routers.\n" +
"Readme: " +
"https://github.com/SFTtech/sftdyn/blob/master/README.md",
author="Michael Ensslin",
author_email="[email protected]",
url="https://github.com/SFTtech/sftdyn",
license="GPL3+",
packages=["sftdyn"],
scripts=["bin/sftdyn"],
data_files=[
("/etc/sftdyn/", ["etc/sample.conf"]),
("/usr/lib/systemd/system/", ["etc/sftdyn.service"]),
],
platforms=[
'Linux',
],
classifiers=[
("License :: OSI Approved :: "
"GNU General Public License v3 or later (GPLv3+)"),
"Topic :: Internet :: WWW/HTTP",
"Intended Audience :: Developers",
"Environment :: Console",
"Operating System :: POSIX :: Linux"
],
)