-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·59 lines (51 loc) · 1.91 KB
/
setup.py
File metadata and controls
executable file
·59 lines (51 loc) · 1.91 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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright (C) 2018 Freie Universität Berlin
#
# This file is subject to the terms and conditions of the GNU General Public
# License v3. See the file LICENSE in the top level directory for more details.
from setuptools import setup
from codecs import open
from distutils.util import convert_path
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# get version without importing it, which would require its dependencies and
# might not be available during setup
# see https://stackoverflow.com/a/2073599
version = {}
version_path = convert_path('version.py')
with open(version_path) as ver_file:
exec(ver_file.read(), version)
setup(
name='RIOT-release-manager',
version=version['__version__'],
description='Helper script to manage a RIOT release',
long_description=long_description,
url='https://github.com/RIOT-OS/riot-release-manager',
author='Martine Lenders',
author_email='m.lenders@fu-berlin.de',
# For a list of valid classifiers, see
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[ # Optional
'Development Status :: 2 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Version Control :: Git',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
packages=["."],
include_package_data=True,
package_data={"riot_release_manager": ["templates/*/*"]},
py_modules=["riot_release_manager", "version"],
install_requires=['appdirs', 'python-gnupg', 'pygithub', 'jinja2'],
entry_points={
'console_scripts': [
'riot-release-manager=riot_release_manager:main',
],
},
)