-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (54 loc) · 2.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
50
51
52
53
54
55
56
57
58
59
60
61
62
from setuptools import setup, find_packages
version = '0.8'
def get_console_script_entry_point(function, module):
return 'nautilus_%(module)s_%(function)s = rbco.nautilusscripts.%(module)s:%(function)s' % {
'module': module,
'function': function
}
setup(name='rbco.nautilusscripts',
version=version,
description="A set of scripts for Nautilus, the Gnome file manager application.",
long_description=open("README.txt").read(),
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='linux gnome',
author='Rafael Oliveira',
author_email='[email protected]',
url='',
license='LGPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['rbco'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'clom',
'rbco.rename>=0.5',
],
entry_points={
'console_scripts': [
get_console_script_entry_point('open_real_path', 'misc'),
get_console_script_entry_point('open_in_terminal', 'misc'),
get_console_script_entry_point('change_owner_to_me', 'misc'),
get_console_script_entry_point('backup', 'misc'),
get_console_script_entry_point('execute_custom_command', 'misc'),
get_console_script_entry_point('filename_length', 'fileinfo'),
get_console_script_entry_point('real_path', 'fileinfo'),
get_console_script_entry_point('lower_case_underscore', 'rename'),
get_console_script_entry_point('unhide', 'rename'),
get_console_script_entry_point('add_prefix', 'rename'),
get_console_script_entry_point('delete_first_n_chars', 'rename'),
get_console_script_entry_point('replace', 'rename'),
get_console_script_entry_point('mp3', 'rename'),
get_console_script_entry_point('id3', 'rename'),
get_console_script_entry_point('add_suffix', 'rename'),
get_console_script_entry_point('delete', 'rename'),
get_console_script_entry_point('remove_accentuation', 'rename'),
get_console_script_entry_point('rst2html', 'text'),
'rbco_nautilusscripts_install = rbco.nautilusscripts.install:install'
],
},
)