-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
67 lines (62 loc) · 2.41 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup the package."""
import sys
from setuptools import find_packages, setup
if sys.version_info < (3, 7):
sys.exit('Sorry, Python < 3.7 is not supported')
setup(
name='clitools',
version='0.2.1',
url='https://github.com/infothrill/python-clitools',
author='Paul Kremer',
author_email='@'.join(('paul', 'spurious.biz')), # avoid spam,
description='Collection of CLI tools written in Python',
packages=find_packages(),
# https://packaging.python.org/tutorials/distributing-packages/#python-requires
python_requires='>=3.7',
setup_requires=['pytest-runner', 'setuptools>=12'],
license='MIT',
install_requires=[
'click >= 6.7',
'chardet >= 2.1', # detectencoding
'colorama', # fs-lint
'IPy >= 0.83', # onlinepingheck
'unidecode >= 0.04', # transliterate
'mutagen >= 1.39', # mp3 tags
'phx-class-registry >= 3.0.5', # fs-lint
'pathspec>=0.5.9', # fs-lint
'six',
'python-gitlab', # gitlab_shared_runners
'python-slugify>=3.0.3', # fs-lint
'pyfzf>=0.3.1', # note
# the cli tool autocropscans depends on this to be in the PYTHONPATH,
# since it is not packaged fully, it cannot be automatically be installed
# https://github.com/msaavedra/autocrop
],
tests_require=['pytest>=3.0.7'],
entry_points={
'console_scripts': [
'detectencoding = clitools.detectencoding:main',
'digssh = clitools.digssh:main',
'fs-lint = clitools.fs_lint:fs_lint',
'gitlab-shared-runners = clitools.gitlab_shared_runners:main',
'id3v1toid3v2 = clitools.id3v1toid3v2:main',
'autocropscans = clitools.autocropscans:main',
'note = clitools.note:main',
'onlinepingcheck = clitools.onlinepingcheck:main',
'rdiff-backup-wrapper = clitools.rdiff_backup_wrapper:main',
'rndpasswd = clitools.rndpasswd:main',
'rot13 = clitools.rot13:main',
'transliterate = clitools.transliterate:main',
'tomp3 = clitools.tomp3:main',
]
},
package_data={'clitools/tests/resources': ['clitools/tests/resources/*.ini']},
data_files=[],
classifiers=[
'DO NOT UPLOAD', # block pypi publication
'Topic :: Utilities',
'Programming Language :: Python :: 3.7',
]
)