Amazing-Python-Scripts
72 строки · 2.6 Кб
1#! /usr/bin/env python3
2########################################################################
3# fixtool
4# Copyright (C) 2017-2018, David Arnold.
5#
6# Permission is hereby granted, free of charge, to any person obtaining a
7# copy of this software and associated documentation files (the "Software"),
8# to deal in the Software without restriction, including without limitation
9# the rights to use, copy, modify, merge, publish, distribute, sublicense,
10# and/or sell copies of the Software, and to permit persons to whom the
11# Software is furnished to do so, subject to the following conditions:
12#
13# The above copyright notice and this permission notice shall be included in
14# all copies or substantial portions of the Software.
15#
16# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22# DEALINGS IN THE SOFTWARE.
23#
24########################################################################
25
26from fixtool import VERSION
27import inspect
28import os
29import sys
30
31from setuptools import setup
32
33# Add fixtool to the PYTHONPATH so we can get the version.
34d = os.path.dirname(inspect.getfile(inspect.currentframe()))
35d = os.path.join(d, "python")
36sys.path.append(d)
37
38
39with open("README.rst") as readme:
40long_description = readme.read()
41
42setup(name="fixtool",
43version=VERSION,
44description="FIX Protocol testing tool",
45long_description=long_description,
46url="https://github.com/da4089/fixtool",
47author="David Arnold",
48author_email="d+fixtool@0x1.org",
49license="MIT",
50keywords="fix testing",
51install_requires=["simplefix>=1.0.8"],
52package_dir={"": "python"},
53packages=["fixtool"],
54entry_points={
55"console_scripts": [
56"fixtool-agent=fixtool.agent:main"
57]
58},
59classifiers=[
60'Development Status :: 3 - Alpha',
61'Topic :: System :: Networking',
62'Intended Audience :: Developers',
63'License :: OSI Approved :: MIT License',
64'Operating System :: OS Independent',
65'Programming Language :: Python',
66'Programming Language :: Python :: 3.5',
67'Programming Language :: Python :: 3.6',
68],
69)
70
71
72########################################################################
73