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
|
from distutils.core import setup
with open('README.md') as f:
long_description = f.read()
def get_version():
version_dict = {}
with open('btrfs/version.py') as fp:
exec(fp.read(), version_dict)
return version_dict['__version__']
version = get_version()
setup(
name='btrfs',
packages=['btrfs'],
version=version,
description='Python module to interact programmatically with an online btrfs file system',
long_description=long_description,
author='Hans van Kranenburg',
author_email='hans@knorrie.org',
url='https://github.com/knorrie/python-btrfs',
download_url='https://github.com/knorrie/python-btrfs/tarball/v{}'.format(version),
keywords=['btrfs', 'filesystem'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Operating System :: POSIX :: Linux',
'Topic :: System :: Filesystems',
'Topic :: System :: Systems Administration',
],
)
|