bytetrie/setup.py
Armin Friedl 9835819b16
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Fix links in PyPi
2020-10-12 06:40:36 +02:00

33 lines
981 B
Python

import setuptools
import re
with open("README.md", "r") as fh:
long_description = fh.read()
# prepend all relative links with
# https://git.friedl.net/incubator/bytetrie/raw/branch/master/
# to make them absolute
long_description = re.sub("\[(.*)\]\((?!http)(.*)\)", r"[\1](https://git.friedl.net/incubator/bytetrie/raw/branch/master/\2)", long_description)
setuptools.setup(
name="bytetrie",
version="0.0.7",
url="https://git.friedl.net/incubator/bytetrie",
license="MIT",
author="Armin Friedl",
author_email="dev@friedl.net",
description="A self-compressing, dependency-free radix trie",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(exclude=("tests",)),
include_package_data=True,
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
]
)