-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
74 lines (69 loc) · 2.54 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
# This file is a part of the powerscan_scenario project
#
# Copyright (C) 2018 Jean-Sebastien SUZANNE <[email protected]>
#
# This Source Code Form is subject to the terms of the Mozilla Public License,
# v. 2.0. If a copy of the MPL was not distributed with this file,You can
# obtain one at http://mozilla.org/MPL/2.0/.
import os
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 4):
sys.stderr.write("This package requires Python 3.4 or newer. "
"Yours is " + sys.version + os.linesep)
sys.exit(1)
requires = [
'sqlalchemy',
'sqlalchemy-utils',
'argparse',
'alembic',
'pySerial',
]
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), 'r', encoding='utf-8') as readme:
README = readme.read()
setup(
name="powerscan_scenario",
version='0.1.0',
author="Jean-Sébastien Suzanne",
author_email="[email protected]",
description="Scenario engine for datalogic scanner",
license="MPL2",
long_description=README,
url="https://github.com/anybox/powerscan_scenario",
packages=find_packages(),
zip_safe=False,
include_package_data=True,
install_requires=requires,
tests_require=requires + ['nose'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
],
entry_points={
'console_scripts': [
'powerscan_scenario=powerscan_scenario.scripts:powerscan_scenario',
'powerscan_config=powerscan_scenario.scripts:powerscan_config',
],
'powerscan_scenario.argparse': [
'conf=powerscan_scenario.config:add_scenario_argparse_config',
'log=powerscan_scenario.config:add_logging_argparse_config',
],
'powerscan_config.argparse': [
'conf=powerscan_scenario.config:add_config_argparse_config',
'log=powerscan_scenario.config:add_logging_argparse_config',
],
'powerscan_scenario.scenario': [
'test=powerscan_scenario.tests.scenario:OneScenario',
],
},
extras_require={},
)