Anki/anki-qt/setup.py
Damien Elmes b23b6fbe35 move the separate components back into this monorepo
Earlier today I pushed a change that split this code up into multiple
repos, but that has proved to complicate things too much. So we're
back to a single repo, except the individual submodules are better
separated than they were before.

The README files need updating again; I will push them out soon.

Aside from splitting out the different modules, the sound code has
moved from from anki to aqt.
2020-01-02 19:43:19 +10:00

39 lines
996 B
Python

import setuptools, sys, os
with open("README.md", "r") as fh:
long_description = fh.read()
platform_reqs = []
if sys.platform == "win32":
platform_reqs.append("psutil")
def package_files(directory):
entries = []
for (path, directories, filenames) in os.walk(directory):
entries.append((path, [os.path.join(path, f) for f in filenames]))
return entries
extra_files = package_files('aqt_data')
setuptools.setup(
name="aqt",
version="0.1.0",
author="Ankitects Pty Ltd",
description="Anki's Qt GUI code",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://apps.ankiweb.net",
packages=setuptools.find_packages(".", exclude=["tests"]),
data_files=extra_files,
classifiers=[
],
python_requires='>=3.6',
install_requires=[
'beautifulsoup4',
'requests',
'send2trash',
'pyaudio',
'markdown',
'jsonschema'
] + platform_reqs
)