hugegraph-python-client/setup.py (25 lines of code) (raw):

# 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 setuptools from pkg_resources import parse_requirements # TODO: replace it by poetry/uv configs (e.g. pyproject.toml) with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() with open("requirements.txt", encoding="utf-8") as fp: install_requires = [str(requirement) for requirement in parse_requirements(fp)] setuptools.setup( name="hugegraph-python", version="1.5.0", author="Apache HugeGraph Contributors", author_email="dev@hugegraph.apache.org", install_requires=install_requires, description="A Python SDK for Apache HugeGraph", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/apache/incubator-hugegraph-ai", packages=setuptools.find_packages(where="src", exclude=["tests"]), package_dir={"": "src"}, classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ], python_requires=">=3.9", )