summaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 78fea3cae4156e6592aad718c2e8d04645ac183c (plain)
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
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.7'
                     "Operating System :: OS Independent",
                     "Topic :: Software Development :: Libraries :: Python Modules"],
      keywords="DiskFormatID")