2020-01-06 06:27:59 +01:00
|
|
|
import setuptools
|
2020-01-02 10:43:19 +01:00
|
|
|
|
2020-01-03 05:36:14 +01:00
|
|
|
with open("../meta/version") as fh:
|
|
|
|
version = fh.read().strip()
|
|
|
|
|
2020-01-02 10:43:19 +01:00
|
|
|
setuptools.setup(
|
|
|
|
name="anki",
|
2020-01-03 05:36:14 +01:00
|
|
|
version=version,
|
2020-01-02 10:43:19 +01:00
|
|
|
author="Ankitects Pty Ltd",
|
|
|
|
description="Anki's library code",
|
2020-01-04 03:21:44 +01:00
|
|
|
long_description="Anki's library code",
|
2020-01-02 10:43:19 +01:00
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
url="https://apps.ankiweb.net",
|
|
|
|
packages=setuptools.find_packages(".", exclude=["tests"]),
|
2020-01-06 06:27:59 +01:00
|
|
|
classifiers=[],
|
2020-01-07 09:34:36 +01:00
|
|
|
python_requires=">=3.7",
|
2020-01-02 10:43:19 +01:00
|
|
|
install_requires=[
|
2020-01-06 06:27:59 +01:00
|
|
|
"beautifulsoup4",
|
|
|
|
"requests",
|
|
|
|
"decorator",
|
|
|
|
"protobuf",
|
2020-01-04 22:30:17 +01:00
|
|
|
'psutil; sys_platform == "win32"',
|
2020-01-06 06:27:59 +01:00
|
|
|
'distro; sys_platform != "darwin" and sys_platform != "win32"',
|
|
|
|
],
|
2020-01-02 10:43:19 +01:00
|
|
|
)
|