/
setup.py
37 lines (30 loc) · 1.18 KB
/
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
34
35
36
37
"""Databet."""
import os
import sys
import setuptools
import make_letters
if sys.version_info < (3, 6):
print("Python 3.6 or higher required, please upgrade.")
sys.exit(1)
make_letters.make()
with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), "README.md")) as f:
long_description = "\n\n".join([
paragraph for paragraph in f.read().replace(
"(img/", "(https://raw.githubusercontent.com/mscroggs/databet/main/img/"
).split("\n\n") if "[letters](letters)" not in paragraph and "[font](font)" not in paragraph])
if __name__ == "__main__":
setuptools.setup(
name="databet",
description="datasets with the same summary statistics that look like the alphabet",
long_description=long_description,
long_description_content_type="text/markdown",
version="2023.1.2",
author="Matthew Scroggs",
license="MIT",
author_email="databet@mscroggs.co.uk",
maintainer_email="databet@mscroggs.co.uk",
url="https://github.com/mscroggs/databet",
packages=["databet"],
package_data={"databet": ["py.typed"]},
install_requires=["numpy", "matplotlib"],
)