-
Notifications
You must be signed in to change notification settings - Fork 195
/
setup.py
72 lines (63 loc) · 2.37 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""Create cross-platform desktop applications with Python and Qt
See:
https://build-system.fman.io
"""
from os.path import relpath, join
from setuptools import setup, find_packages
import os
def _get_package_data(pkg_dir, data_subdir):
result = []
for dirpath, _, filenames in os.walk(join(pkg_dir, data_subdir)):
for filename in filenames:
filepath = join(dirpath, filename)
result.append(relpath(filepath, pkg_dir))
return result
description = 'Create cross-platform desktop applications with Python and Qt'
setup(
name='fbs',
# Also update fbs/_defaults/requirements/base.txt when you change this:
version='1.2.5',
description=description,
long_description=
description + '\n\nHome page: https://build-system.fman.io',
author='Michael Herrmann',
author_email='[email protected]',
url='https://build-system.fman.io',
packages=find_packages(exclude=('tests', 'tests.*')),
package_data={
'fbs': _get_package_data('fbs', '_defaults'),
'fbs.builtin_commands':
_get_package_data('fbs/builtin_commands', 'project_template'),
'fbs.builtin_commands._gpg':
['Dockerfile', 'genkey.sh', 'gpg-agent.conf'],
'fbs.installer.mac': _get_package_data(
'fbs/installer/mac', 'create-dmg'
)
},
install_requires=['PyInstaller==3.4'],
extras_require={
# Also update requirements.txt when you change this:
'licensing': ['rsa>=3.4.2'],
'sentry': ['sentry-sdk>=0.6.6'],
'upload': ['boto3']
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
],
entry_points={
'console_scripts': ['fbs=fbs.__main__:_main']
},
license='GPLv3 or later',
keywords='PyQt',
platforms=['MacOS', 'Windows', 'Debian', 'Fedora', 'CentOS', 'Arch'],
test_suite='tests'
)