Amazing-Python-Scripts

Форк
0
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

26
from fixtool import VERSION
27
import inspect
28
import os
29
import sys
30

31
from setuptools import setup
32

33
# Add fixtool to the PYTHONPATH so we can get the version.
34
d = os.path.dirname(inspect.getfile(inspect.currentframe()))
35
d = os.path.join(d, "python")
36
sys.path.append(d)
37

38

39
with open("README.rst") as readme:
40
    long_description = readme.read()
41

42
setup(name="fixtool",
43
      version=VERSION,
44
      description="FIX Protocol testing tool",
45
      long_description=long_description,
46
      url="https://github.com/da4089/fixtool",
47
      author="David Arnold",
48
      author_email="d+fixtool@0x1.org",
49
      license="MIT",
50
      keywords="fix testing",
51
      install_requires=["simplefix>=1.0.8"],
52
      package_dir={"": "python"},
53
      packages=["fixtool"],
54
      entry_points={
55
          "console_scripts": [
56
              "fixtool-agent=fixtool.agent:main"
57
          ]
58
      },
59
      classifiers=[
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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.