1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2026-01-31 10:51:38 +00:00

Converted the compiled win module to ctypes.

--HG--
branch : py3k
This commit is contained in:
Virgil Dupras
2010-10-17 18:00:56 +01:00
parent a6907d57a9
commit 899a3efeb3
3 changed files with 42 additions and 94 deletions

View File

@@ -2,16 +2,6 @@ import sys
import os.path as op
from setuptools import setup
from distutils.extension import Extension
exts = []
if sys.platform == 'win32':
exts.append(Extension(
'send2trash_win',
[op.join('modules', 'send2trash_win.c')],
extra_link_args = ['shell32.lib'],
))
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
@@ -33,7 +23,6 @@ setup(
author_email='hsoft@hardcoded.net',
packages=['send2trash'],
scripts=[],
ext_modules = exts,
url='http://hg.hardcoded.net/send2trash/',
license='BSD License',
description='Send file to trash natively under Mac OS X, Windows and Linux.',