forked from mmz-srf/ipam-migrator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
82 lines (59 loc) · 2.17 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
#!/usr/bin/env python3
#
# Copyright (c) 2017 Catalyst.net Ltd
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# A setuptools based setup module.
# See:
# https://packaging.python.org/en/latest/distributing.html
# https://github.com/pypa/sampleproject
import os
import setuptools
import stat
import sys
import re
# Top-level source directory.
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file.
with open(os.path.join(here, "README.md"), "r", encoding="UTF-8") as f:
long_description = f.read()
# Setup the package.
setuptools.setup(
name = "ipam-migrator",
description = "IPAM database migration script",
long_description = long_description,
version = "1.0.0",
url = "https://github.com/Callum027/ipam-migrator",
author = "Callum Dickinson",
author_email = "[email protected]",
license = "GPLv3+",
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: System Administrators",
"Topic :: System :: Networking",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
],
keywords = "ipam phpipam netbox",
install_requires = ["requests"],
packages = setuptools.find_packages(where=os.path.join(here, "src")),
package_dir = {"": "src"},
entry_points = {
"console_scripts": [
"ipam-migrator = ipam_migrator.ipam_migrator:main",
],
},
)