mirror of
https://github.com/samschott/maestral.git
synced 2024-09-22 19:42:53 +03:00
81 lines
2.2 KiB
Python
81 lines
2.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# system imports
|
|
from setuptools import setup, find_packages # type: ignore
|
|
|
|
|
|
# proceed with actual install
|
|
install_requires = [
|
|
"alembic>=1.3.0",
|
|
"bugsnag>=3.4.0",
|
|
"click>=7.1.1",
|
|
"dropbox>=10.4.1",
|
|
'dbus-next>=0.1.4;sys_platform=="linux"',
|
|
"fasteners>=0.15",
|
|
"importlib_metadata;python_version<'3.8'",
|
|
"importlib_resources;python_version<'3.9'",
|
|
"keyring>=19.0.0",
|
|
"keyrings.alt>=3.1.0",
|
|
"packaging",
|
|
"pathspec>=0.5.8",
|
|
"Pyro5>=5.10",
|
|
"requests>=2.16.2",
|
|
'rubicon-objc>=0.3.1;sys_platform=="darwin"',
|
|
"setuptools",
|
|
"sdnotify>=0.3.2",
|
|
"sqlalchemy>=1.3.0",
|
|
"watchdog>=0.10.0",
|
|
]
|
|
|
|
gui_requires = [
|
|
'maestral-qt>=1.2.2.dev0;sys_platform=="linux"',
|
|
'maestral-cocoa>=1.2.2.dev0;sys_platform=="darwin"',
|
|
]
|
|
|
|
syslog_requires = ["systemd-python"]
|
|
|
|
|
|
setup(
|
|
name="maestral",
|
|
author="Sam Schott",
|
|
author_email="ss2151@cam.ac.uk",
|
|
version="1.2.2.dev0",
|
|
url="https://github.com/SamSchott/maestral",
|
|
description="Open-source Dropbox client for macOS and Linux.",
|
|
license="MIT",
|
|
long_description=open("README.md").read(),
|
|
long_description_content_type="text/markdown",
|
|
packages=find_packages(),
|
|
package_data={
|
|
"maestral": [
|
|
"resources/*",
|
|
],
|
|
},
|
|
setup_requires=["wheel"],
|
|
install_requires=install_requires,
|
|
extras_require={
|
|
"gui": gui_requires,
|
|
"syslog": syslog_requires,
|
|
},
|
|
zip_safe=False,
|
|
entry_points={
|
|
"console_scripts": ["maestral=maestral.cli:main"],
|
|
"pyinstaller40": ["hook-dirs=maestral.__pyinstaller:get_hook_dirs"],
|
|
},
|
|
python_requires=">=3.6",
|
|
classifiers=[
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: Unix",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
],
|
|
data_files=[
|
|
("share/icons/hicolor/512x512/apps", ["maestral/resources/maestral.png"])
|
|
],
|
|
)
|