forked from lueschem/edi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
93 lines (74 loc) · 2.77 KB
/
setup.py
File metadata and controls
93 lines (74 loc) · 2.77 KB
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
91
92
93
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Matthias Luescher
#
# Authors:
# Matthias Luescher
#
# This file is part of edi.
#
# edi is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# edi 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 Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with edi. If not, see <http://www.gnu.org/licenses/>.
# setup.py according to
# http://python-packaging-user-guide.readthedocs.io/en/latest/distributing/
from setuptools import setup, find_packages
from codecs import open
from os import path
import glob
import os
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='edi',
version='2.1.5',
description='Embedded Development Infrastructure - edi',
long_description=long_description,
url='https://github.com/lueschem/edi',
# Author details
author='Matthias Luescher',
author_email='lueschem@gmail.com',
# Choose your license
license='GPLv3+',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Programming Language :: Python :: 3.5',
],
keywords='embedded Linux container toolchain lxd lxc Ansible Debian',
packages=find_packages(exclude=['docs', 'debian', 'bin', '.git', 'venv']),
install_requires=['argcomplete', 'click', 'jinja2', 'packaging', 'python-apt',
'python-dateutil', 'python-debian', 'python-gnupg',
'pyyaml', 'requests'],
extras_require={
# 'dev': ['check-manifest'],
# 'test': ['coverage'],
},
package_data={
'edi': [f[len('edi/'):] for f in glob.iglob('edi/plugins/**',
recursive=True)
if os.path.isfile(f)],
'tests': [f[len('tests/'):] for f in glob.iglob('tests/data/**',
recursive=True)
if os.path.isfile(f)],
},
# data_files=[('my_data', ['data/data_file'])],
entry_points={
'console_scripts': [
'edi=edi:main',
],
},
)