-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (41 loc) · 1.25 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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from sys import version_info
requires = ['pathlib==1.0.1']
# bash completion
try:
with open('/etc/bash_completion.d/completion', 'w') as eo:
eo.write('test')
data_files = [('/etc/bash_completion.d/', ['extra/python%s/trashtalk' % version_info[0]])]
except:
data_files = []
setup(
name='trashtalk',
version="0.0.6.1",
packages=find_packages(),
setup_requires=['pytest-runner'],
tests_require=['pytest'],
description="simplify trash in command line",
long_description=open('README.rst').read(),
author="PTank",
author_email="[email protected]",
url="https://github.com/PTank/trashtalk",
install_requires=requires,
include_package_data=True,
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2",
"Topic :: Utilities"
],
data_files=data_files,
entry_points={
'console_scripts': [
'trashtalk = trashtalk.core:trashtalk',
],
}
)