forked from dggreenbaum/debinterface
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.py
64 lines (54 loc) · 1.92 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
#!/usr/bin/env python
import codecs
import os
from setuptools import setup, find_packages
from debinterface import __version__
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
"""
Build an absolute path from *parts* and and return the contents of the
resulting file. Assume UTF-8 encoding.
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as file_src:
return file_src.read()
REQUIREMENTS = []
VERSION = __version__
URL = 'https://github.com/nMustaki/debinterface'
setup(
name="debinterface",
version=VERSION,
description=("A simple Python library for dealing with "
"the /etc/network/interfaces file in most "
"Debian based distributions."),
long_description=read("README.rst"),
license="BSD",
maintainer='Nathan Mustaki',
maintainer_email='feydaykyn@gmail.com',
author="Douglas Greenbaum",
author_email="dggreenbaum@greenbad.org",
url=URL,
packages=find_packages(exclude=["test"]),
package_data={
'debinterface': ['py.typed'],
},
install_requires=REQUIREMENTS,
extras_require={
'dev': ['check-manifest', 'twine']
},
test_suite="test",
download_url='{0}/archive/v{1}.zip'.format(URL, VERSION),
keywords=['debian', 'network', 'system', 'configuration'],
classifiers=(
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'Topic :: System :: Systems Administration',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
)
)