send2trash/setup.py

43 lines
1.2 KiB
Python
Raw Normal View History

2010-04-06 04:28:43 -05:00
import sys
2010-04-06 01:58:56 -05:00
import os.path as op
from setuptools import setup
2010-04-06 01:58:56 -05:00
from distutils.extension import Extension
exts = []
2010-04-06 04:28:43 -05:00
if sys.platform == 'win32':
exts.append(Extension(
'send2trash_win',
[op.join('modules', 'send2trash_win.c')],
2010-04-06 04:28:43 -05:00
extra_link_args = ['shell32.lib'],
))
2010-04-06 01:58:56 -05:00
2010-07-07 04:59:11 -05:00
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
2010-07-07 04:59:11 -05:00
'Programming Language :: Objective C',
'Programming Language :: C',
'Topic :: Desktop Environment :: File Managers',
]
2010-04-06 01:58:56 -05:00
setup(
name='Send2Trash3k',
2010-07-10 00:06:01 -05:00
version='1.0.2',
2010-04-06 01:58:56 -05:00
author='Hardcoded Software',
author_email='hsoft@hardcoded.net',
packages=['send2trash'],
scripts=[],
ext_modules = exts,
2010-04-07 03:43:36 -05:00
url='http://hg.hardcoded.net/send2trash/',
2010-07-07 04:59:11 -05:00
license='BSD License',
2010-04-06 01:58:56 -05:00
description='Send file to trash natively under Mac OS X, Windows and Linux.',
2010-04-08 09:28:23 -05:00
long_description=open('README').read(),
2010-07-07 04:59:11 -05:00
classifiers=CLASSIFIERS,
zip_safe=False,
2010-04-06 01:58:56 -05:00
)