mirror of
https://github.com/elliotnunn/machfs.git
synced 2024-12-26 10:32:25 +00:00
Prepare to package
This commit is contained in:
parent
12cca25a70
commit
4b336343d8
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 Elliot Nunn
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
10
README.md
Normal file
10
README.md
Normal file
@ -0,0 +1,10 @@
|
||||
`machfs` is a pure Python 3 library for reading and writing disk images in the
|
||||
Apple's long-deprecated [Hierarchical File
|
||||
System](https://en.wikipedia.org/wiki/Hierarchical_File_System) format. It
|
||||
operates entirely on in-memory `bytes` objects. Images are serialised and
|
||||
deserialised in one go using the `read` and `write` methods of the `Volume`
|
||||
object.
|
||||
|
||||
The directory hierarchy of a `Volume` is then accessed and manipulated like a
|
||||
Python `dict`. `Folder` and `File` objects represent the contents of the
|
||||
filesystem.
|
1
machfs/__init__.py
Normal file
1
machfs/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from main import Volume, Folder, File
|
21
setup.py
Normal file
21
setup.py
Normal file
@ -0,0 +1,21 @@
|
||||
from distutils.core import setup
|
||||
|
||||
setup(
|
||||
name='machfs',
|
||||
version='0.1dev',
|
||||
author='Elliot Nunn',
|
||||
author_email='elliotnunn@me.com',
|
||||
description='Library for reading and writing Macintosh HFS volumes',
|
||||
long_description=open('README.md').read(),
|
||||
long_description_content_type='text/markdown',
|
||||
license='MIT',
|
||||
url='https://github.com/elliotnunn/machfs',
|
||||
classifiers=[
|
||||
'Programming Language :: Python :: 3 :: Only',
|
||||
'Operating System :: OS Independent',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Topic :: System :: Filesystems',
|
||||
'Development Status :: 3 - Alpha',
|
||||
],
|
||||
packages=['machfs'],
|
||||
)
|
Loading…
Reference in New Issue
Block a user