1 """Setup script for rarfile.
4 from setuptools
import setup
8 vrx
= r
"""^__version__ *= *['"]([^'"]+)['"]"""
9 src
= open("rarfile.py").read()
10 ver
= re
.search(vrx
, src
, re
.M
).group(1)
12 ldesc
= open("README.rst").read().strip()
13 sdesc
= ldesc
.split('\n')[0].split(' - ')[1].strip()
19 long_description
= ldesc
,
20 author
= "Marko Kreen",
22 author_email
= "markokr@gmail.com",
23 url
= "https://github.com/markokr/rarfile",
24 py_modules
= ['rarfile'],
25 keywords
= ['rar', 'unrar', 'archive'],
27 "Development Status :: 5 - Production/Stable",
28 "Intended Audience :: Developers",
29 "License :: OSI Approved :: ISC License (ISCL)",
30 "Operating System :: OS Independent",
31 "Programming Language :: Python :: 2",
32 "Programming Language :: Python :: 3",
33 "Topic :: Software Development :: Libraries :: Python Modules",
34 "Topic :: System :: Archiving :: Compression",