mirror of
https://github.com/arsenetar/send2trash.git
synced 2026-01-31 10:51:38 +00:00
Added the osx module.
This commit is contained in:
25
setup.py
Normal file
25
setup.py
Normal file
@@ -0,0 +1,25 @@
|
||||
import os.path as op
|
||||
|
||||
from distutils.core import setup
|
||||
from distutils.extension import Extension
|
||||
|
||||
exts = []
|
||||
|
||||
exts.append(Extension(
|
||||
'_trash_osx',
|
||||
[op.join('modules', 'trash_osx.c')],
|
||||
extra_link_args=['-framework', 'CoreServices'],
|
||||
))
|
||||
|
||||
setup(
|
||||
name='Send2Trash',
|
||||
version='1.0.0',
|
||||
author='Hardcoded Software',
|
||||
author_email='hsoft@hardcoded.net',
|
||||
packages=['send2trash'],
|
||||
scripts=[],
|
||||
ext_modules = exts,
|
||||
url='http://www.hardcoded.net/docs/send2trash/',
|
||||
license='LICENSE',
|
||||
description='Send file to trash natively under Mac OS X, Windows and Linux.',
|
||||
)
|
||||
Reference in New Issue
Block a user