This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit b6234e23751e0e0548f97f0d6e8fceea8f3f5de6 Merge: c9b4ee7 f96f554 Author: Stephen Mallette <[email protected]> AuthorDate: Mon Nov 23 07:02:48 2020 -0500 Merge branch '3.4-dev' CHANGELOG.asciidoc | 1 + .../gremlin/process/traversal/step/filter/HasStep.java | 15 ++++++++++++++- .../traversal/step/filter/TraversalFilterStep.java | 15 ++++++++++++++- gremlin-python/src/main/python/setup.py | 3 ++- 4 files changed, 31 insertions(+), 3 deletions(-) diff --cc gremlin-python/src/main/python/setup.py index 6d559b7,0000000..248c342 mode 100644,000000..100644 --- a/gremlin-python/src/main/python/setup.py +++ b/gremlin-python/src/main/python/setup.py @@@ -1,91 -1,0 +1,92 @@@ +""" +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +""" +import codecs +import os +import sys +import time +from setuptools import setup + +# Folder containing the setup.py +root = os.path.dirname(os.path.abspath(__file__)) + +# Path to __version__ module +version_file = os.path.join(root, 'gremlin_python', '__version__.py') + +# Check if this is a source distribution. +# If not create the __version__ module containing the version +if not os.path.exists(os.path.join(root, 'PKG-INFO')): + timestamp = int(os.getenv('TIMESTAMP', time.time() * 1000)) / 1000 + fd = codecs.open(version_file, 'w', 'utf-8') + fd.write("'''") + fd.write(__doc__) + fd.write("'''\n") + fd.write('version = %r\n' % os.getenv('VERSION', '?').replace('-SNAPSHOT', '.dev-%d' % timestamp)) + fd.write('timestamp = %d\n' % timestamp) + fd.close() +# Load version +from gremlin_python import __version__ + +version = __version__.version + +install_requires = [ + 'aenum>=1.4.5,<3.0.0', + 'tornado>=6.0', + 'six>=1.10.0,<2.0.0', + 'isodate>=0.6.0,<1.0.0', + 'pyparsing>=2.4.7,<3.0.0' +] + +if sys.version_info < (3, 5): + install_requires += ['pyparsing>=2.4.6,<3.0.0'] + +setup( + name='gremlinpython', + version=version, + packages=['gremlin_python', 'gremlin_python.driver', + 'gremlin_python.driver.tornado', 'gremlin_python.process', + 'gremlin_python.structure', 'gremlin_python.structure.io'], + license='Apache 2', + url='http://tinkerpop.apache.org', + description='Gremlin-Python for Apache TinkerPop', + long_description=codecs.open("README.rst", "r", "UTF-8").read(), + long_description_content_type='text/x-rst', + test_suite="tests", + data_files=[("", ["LICENSE", "NOTICE"])], + setup_requires=[ - 'pytest-runner', ++ 'pytest-runner==5.2', ++ 'importlib-metadata<3.0.0' + ], + tests_require=[ + 'pytest>=4.6.4,<5.0.0', + 'mock>=3.0.5,<4.0.0', + 'radish-bdd==0.8.6', + 'PyHamcrest>=1.9.0,<2.0.0' + ], + install_requires=install_requires, + extra_require={ + 'kerberos': 'kerberos>=1.3.0,<2.0.0' # Does not install in Microsoft Windows + }, + classifiers=[ + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "Natural Language :: English", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + ] +)
