2020-11-02 13:32:54 -05:00
|
|
|
#!/usr/bin/env python3
|
2022-01-17 15:56:39 -05:00
|
|
|
# This file is used to build the Snapcraft and Flatpak packages
|
2020-11-02 13:32:54 -05:00
|
|
|
import setuptools
|
|
|
|
|
2022-01-17 15:56:39 -05:00
|
|
|
# The version must be hard-coded because Snapcraft won't have access to ../cli
|
2024-03-15 03:18:52 -04:00
|
|
|
version = "2.6.2"
|
2020-11-02 13:32:54 -05:00
|
|
|
|
|
|
|
setuptools.setup(
|
|
|
|
name="onionshare",
|
|
|
|
version=version,
|
2021-12-21 17:16:10 -05:00
|
|
|
description="Securely and anonymously share files, host websites, and chat with friends using the Tor network",
|
2020-11-02 13:32:54 -05:00
|
|
|
author="Micah Lee",
|
|
|
|
author_email="micah@micahflee.com",
|
|
|
|
maintainer="Micah Lee",
|
|
|
|
maintainer_email="micah@micahflee.com",
|
|
|
|
url="https://onionshare.org",
|
|
|
|
license="GPLv3",
|
|
|
|
keywords="onion, share, onionshare, tor, anonymous, web server",
|
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Framework :: Flask",
|
|
|
|
"Topic :: Communications :: File Sharing",
|
|
|
|
"Topic :: Security :: Cryptography",
|
|
|
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
|
|
"Intended Audience :: End Users/Desktop",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Environment :: Web Environment",
|
|
|
|
],
|
|
|
|
packages=[
|
|
|
|
"onionshare",
|
|
|
|
"onionshare.tab",
|
|
|
|
"onionshare.tab.mode",
|
|
|
|
"onionshare.tab.mode.share_mode",
|
|
|
|
"onionshare.tab.mode.receive_mode",
|
|
|
|
"onionshare.tab.mode.website_mode",
|
|
|
|
"onionshare.tab.mode.chat_mode",
|
|
|
|
],
|
|
|
|
package_data={
|
|
|
|
"onionshare": [
|
|
|
|
"resources/*",
|
|
|
|
"resources/images/*",
|
2022-10-05 00:13:17 -04:00
|
|
|
"resources/images/countries/*",
|
2020-11-02 13:32:54 -05:00
|
|
|
"resources/locale/*",
|
2022-10-05 00:13:17 -04:00
|
|
|
"resources/countries/*",
|
2020-11-02 13:32:54 -05:00
|
|
|
]
|
|
|
|
},
|
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
|
|
|
"onionshare = onionshare:main",
|
2022-10-09 10:20:25 -04:00
|
|
|
"onionshare-cli = onionshare_cli:main",
|
2020-11-02 13:32:54 -05:00
|
|
|
],
|
|
|
|
},
|
|
|
|
)
|