Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Update v1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tzutalin committed Oct 22, 2018
1 parent 4e278bb commit d14d3b0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
History
=======

1.8.0 (2018-10-21)
------------------

* Support drawing sqaure rect
* Add item single click slot
* Fix issues

1.7.0 (2018-05-18)
------------------
Expand Down
Empty file modified build-tools/build-for-macos.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion libs/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = ('1', '7', '0')
__version_info__ = ('1', '8', '0')
__version__ = '.'.join(__version_info__)
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from setuptools import setup, find_packages
from libs.version import __version__
from sys import platform as _platform

with open('README.rst') as readme_file:
readme = readme_file.read()
Expand All @@ -14,6 +15,15 @@
# TODO: Different OS have different requirements
]

# OS specific settings
SET_REQUIRES = []
if _platform == "linux" or _platform == "linux2":
# linux
print('linux')
elif _platform == "darwin":
# MAC OS X
SET_REQUIRES.append('py2app')

required_packages = find_packages()
required_packages.append('labelImg')

Expand Down Expand Up @@ -60,5 +70,5 @@
],
package_data={'data/predefined_classes.txt': ['data/predefined_classes.txt']},
options={'py2app': OPTIONS},
setup_requires=['py2app']
setup_requires= SET_REQUIRES
)

0 comments on commit d14d3b0

Please sign in to comment.