diff options
author | Kam Woods <kamwoods@gmail.com> | 2016-05-14 14:21:54 -0400 |
---|---|---|
committer | Kam Woods <kamwoods@gmail.com> | 2016-05-14 14:21:54 -0400 |
commit | 9b4883bb8af514aef72cd17ec87b3098c668a03f (patch) | |
tree | 0a520407261c104c3f0f627121687daae59b591f | |
parent | 25d6c4aeac36fa27332c79961215a205e8eeaab8 (diff) | |
download | DiskFormatID-9b4883bb8af514aef72cd17ec87b3098c668a03f.zip DiskFormatID-9b4883bb8af514aef72cd17ec87b3098c668a03f.tar.gz DiskFormatID-9b4883bb8af514aef72cd17ec87b3098c668a03f.tar.bz2 |
Updated for setuptools
-rw-r--r-- | DiskFormatID/__init__.py | 12 | ||||
-rw-r--r-- | chooseFormats.pyc | bin | 10064 -> 0 bytes | |||
-rw-r--r-- | chooseFormatsGUI.pyc | bin | 7310 -> 0 bytes | |||
-rwxr-xr-x | diskIDMain (renamed from diskIDMain.py) | 0 | ||||
-rw-r--r-- | diskIDMainGUI.pyc | bin | 5608 -> 0 bytes | |||
-rw-r--r-- | setup.py | 39 |
6 files changed, 51 insertions, 0 deletions
diff --git a/DiskFormatID/__init__.py b/DiskFormatID/__init__.py new file mode 100644 index 0000000..b770dd3 --- /dev/null +++ b/DiskFormatID/__init__.py @@ -0,0 +1,12 @@ +# Placeholder for future packaging +__license__ = "GPL 3.0" +__version__ = "0.1.0" +#__all__ = ['libredact'] + +#from .diskID_config import * + +#try: +# from .diskID import diskID_sample +#except ImportError: +# import warnings +# warnings.warn("Dep X not installed. Needed for diskID.") diff --git a/chooseFormats.pyc b/chooseFormats.pyc Binary files differdeleted file mode 100644 index 52f9789..0000000 --- a/chooseFormats.pyc +++ /dev/null diff --git a/chooseFormatsGUI.pyc b/chooseFormatsGUI.pyc Binary files differdeleted file mode 100644 index 76e3244..0000000 --- a/chooseFormatsGUI.pyc +++ /dev/null diff --git a/diskIDMain.py b/diskIDMain index 243c812..243c812 100755 --- a/diskIDMain.py +++ b/diskIDMain diff --git a/diskIDMainGUI.pyc b/diskIDMainGUI.pyc Binary files differdeleted file mode 100644 index 62e9c72..0000000 --- a/diskIDMainGUI.pyc +++ /dev/null diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0ee3b6f --- /dev/null +++ b/setup.py @@ -0,0 +1,39 @@ +import os +import warnings + +from setuptools import setup + +with open(os.path.join('DiskFormatID', '__init__.py')) as init_: + for line in init_: + if '__version__' in line: + version = line.split('=')[-1].strip().replace('"','') + break + else: + version = 'unknown' + warnings.warn('Unable to find version, using "%s"' % version) + input("Continue?") + + +setup(name='DiskFormatID', + version=version, + description='Disk Format Identification for KryoFlux', + author='Euan Cochrane', + author_email='euanc@foobar.com', + maintainer = "Euan Cochrane", + maintainer_email = "euanc@foobar.com", + url="https://github.com/euanc/DiskFormatID", + + py_modules = ['chooseFormatsGUI', 'chooseFormats', 'diskIDMainGUI'], + + scripts = ['diskIDMain'], + + classifiers = ['Development Status :: 2 - Pre-Alpha' + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "Programming Language :: Python", + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.6' + "Operating System :: OS Independent", + "Topic :: Software Development :: Libraries :: Python Modules"], + keywords="DiskFormatID") + |