-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup_noreq.py
42 lines (36 loc) · 1.42 KB
/
setup_noreq.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
39
40
41
from setuptools import setup, find_packages
import sys, os, codecs, re
here = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
with codecs.open(os.path.join(here, *parts), 'r') as fp:
return fp.read()
def find_version(*file_paths):
version_file = read(*file_paths)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
setup(name='poitagger',
version=find_version("poitagger", "__init__.py"),
description="pyqt5 gui application for georeferencing drone based images",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='uav drone thermal flir georeferencing computer vision localization gps exif pyqt5 qt image tagging geo gps',
author='Martin Israel',
author_email='[email protected]',
url='',
license='GNU GPL 3',
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
include_package_data=True,
zip_safe=False,
install_requires=[
],
package_data={
'': ['*.js','*.html','*.css','*.ui','ui/*.*','ui/icons/*.*','*.ini'],
},
entry_points={
'gui_scripts': ["poitagger = poitagger.__main__:main"],
},
)