-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
62 lines (56 loc) · 1.65 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
from setuptools import setup
from setuptools.command.sdist import sdist
NAME = 'phrasebook'
DESCRIPTION = 'Multilingual desktop application for generating secure passphrases using a wordlist.'
URL = 'https://github.com/simonft/phrasebook'
EMAIL = 'simonft@riseup.net'
AUTHOR = 'Simon Fondrie-Teitler'
REQUIRES_PYTHON = '>=3.5.0'
VERSION = '0.1-dev'
REQUIRED = [
'click',
'pyqt5',
'babel',
]
class Sdist(sdist):
"""Custom ``sdist`` command to ensure that mo files are always created."""
def run(self):
self.run_command('compile_catalog')
sdist.run(self)
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
py_modules=['phrasebook'],
install_requires=REQUIRED,
cmdclass={'sdist': Sdist},
extras_require={
'dev': [
'babel',
]
},
entry_points={
'console_scripts': [
'phrasebook=phrasebook.cli:main'
]
},
package_data={
'phrasebook': ['wordlists/*.txt', 'images/*'],
},
license='GPLv3+',
classifiers=[
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
],
)