forked from andreafrancia/trash-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (32 loc) · 1.24 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
# Copyright (C) 2007-2011 Andrea Francia Trivolzio(PV) Italy
import ez_setup; ez_setup.use_setuptools()
from setuptools import setup
import sys
sys.path.append('.')
from trashcli import trash
setup(
name = 'trash-cli',
version = trash.version,
author = 'Andrea Francia',
author_email = '[email protected]',
url = 'https://github.com/andreafrancia/trash-cli',
description = 'Command line interface to FreeDesktop.org Trash.',
license = 'GPL v2',
long_description = file("README.rst").read(),
packages = ['trashcli', 'integration_tests', 'unit_tests'],
test_suite = "nose.collector",
entry_points = {
'console_scripts' : [
'trash-list = trashcli.cmds:list',
'trash = trashcli.cmds:put',
'trash-put = trashcli.cmds:put',
'restore-trash = trashcli.cmds:restore',
'trash-empty = trashcli.cmds:empty'
]
},
data_files = [('share/man/man1', ['man/man1/trash-empty.1',
'man/man1/trash-list.1',
'man/man1/restore-trash.1',
'man/man1/trash-put.1'])],
tests_require = file("requirements-dev.txt").readlines(),
)