forked from GhostofGoes/getmac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
90 lines (83 loc) · 3.05 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from io import open # Python 2 compatibility
from setuptools import setup
from getmac.getmac import __version__
# Build the page that will be displayed on PyPI from the README and CHANGELOG
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
long_description += "\n\n"
with open("CHANGELOG.md", encoding="utf-8") as f:
long_description += f.read()
setup(
name="getmac",
version=__version__,
author="Christopher Goes",
author_email="[email protected]",
description="Get MAC addresses of remote hosts and local interfaces",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/GhostofGoes/getmac",
project_urls={
"Discord server": "https://discord.gg/python",
"Issue tracker": "https://github.com/GhostofGoes/getmac/issues",
},
license="MIT",
data_files=[
("share/man/man1", ["docs/man/getmac2.1"])
if sys.version_info[:2] <= (2, 7)
else ("share/man/man1", ["docs/man/getmac.1"])
],
packages=["getmac"],
zip_safe=True,
entry_points={"console_scripts": ["getmac2 = getmac.__main__:main"]}
if sys.version_info[:2] <= (2, 7)
else {"console_scripts": ["getmac = getmac.__main__:main"]},
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
keywords=[
"getmac",
"get-mac",
"macaddress",
"mac-address",
"mac",
"ethernet",
"mac-48",
"networking",
"network",
"networking",
"layer2",
"layer-2",
"802.3",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: IronPython",
"Programming Language :: Python :: Implementation :: Jython",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Systems Administration",
"Topic :: System :: Networking",
"Topic :: Utilities",
],
)