-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (45 loc) · 1.48 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
38
39
40
41
42
43
44
45
46
47
48
49
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
import setuptools
from pathlib import Path
from offload import VERSION
APP = ['offload/gui.py']
DATA_FILES = ['data',
# 'offload/data/report_template.html', 'offload/data/fonts/SourceSans3-Bold.otf',
# 'offload/data/fonts/SourceSans3-BoldIt.otf', 'offload/data/fonts/SourceSans3-It.otf',
# 'offload/data/fonts/SourceSans3-Light.otf', 'offload/data/fonts/SourceSans3-LightIt.otf',
# 'offload/data/fonts/SourceSans3-Regular.otf'
]
OPTIONS = {'iconfile': 'data/offload.icns'}
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
install_requires=[
'xxhash',
'pyqt5',
'psutil',
'pillow'
],
name="Offload", # Replace with your own username
version=VERSION,
author="Caffeine Creations",
author_email="[email protected]",
description="Transfer files",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/thejoltjoker/offload",
packages=['offload', 'tests'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
],
python_requires='>=3.9',
)