-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (26 loc) · 981 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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",
]
)