bytetrie/setup.py

34 lines
981 B
Python
Raw Permalink Normal View History

2020-10-08 02:52:30 +00:00
import setuptools
2020-10-12 04:34:07 +00:00
import re
2020-10-08 02:52:30 +00:00
2020-10-10 00:40:52 +00:00
2020-10-08 02:52:30 +00:00
with open("README.md", "r") as fh:
long_description = fh.read()
2020-10-12 04:34:07 +00:00
# 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)
2020-10-10 00:40:52 +00:00
setuptools.setup(
2020-10-08 02:52:30 +00:00
name="bytetrie",
2020-10-12 05:03:15 +00:00
version="0.1.0",
2020-10-08 02:52:30 +00:00
url="https://git.friedl.net/incubator/bytetrie",
license="MIT",
author="Armin Friedl",
author_email="dev@friedl.net",
2020-10-12 04:34:07 +00:00
description="A self-compressing, dependency-free radix trie",
2020-10-08 02:52:30 +00:00
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",
]
)