forked from dmgbuild/ds_store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (41 loc) · 1.3 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
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
with open('README.rst', 'rb') as f:
longdesc = f.read().decode('utf-8')
setup(name='ds_store',
version='1.1.2',
description='Manipulate Finder .DS_Store files from Python',
long_description=longdesc,
author='Alastair Houghton',
author_email='[email protected]',
url='http://alastairs-place.net/projects/ds_store',
license='MIT License',
platforms='Any',
packages=['ds_store'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Topic :: Desktop Environment',
'Topic :: Software Development :: Libraries :: Python Modules'],
install_requires=[
'biplist >= 0.6',
'mac_alias >= 2.0.1',
],
tests_require=['pytest'],
cmdclass={
'test': PyTest
},
provides=[
'ds_store'
])