bytetrie/setup.py
Armin Friedl 543c71b562
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
continuous-integration/drone Build is passing
Public PyPi release
2020-10-12 07:03:15 +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.1.0",
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",
]
)