-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
39 lines (31 loc) · 1.35 KB
/
setup.py
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
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',
maintainer = "Euan Cochrane",
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")