Skip to content

Commit fca2d06

Browse files
Simplify setup.
1 parent 2f4dfde commit fca2d06

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

stage8_packaging/setup.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,12 @@
44
3. `python setup.py bdist_wheel` to build and share a binary wheel
55
"""
66

7-
from os.path import abspath, dirname, join
7+
from os.path import join
88
from setuptools import setup, find_packages
99
from glob import glob
1010

11-
HERE = dirname(abspath(__file__))
12-
1311
PKG_NAME = "pycasa"
1412

15-
info = {}
16-
init_file = join(HERE, PKG_NAME, "__init__.py")
17-
exec(open(init_file).read(), globals(), info)
18-
1913
# Application image files -----------------------------------------------------
2014
ui_images_files = glob(join(PKG_NAME, "ui", "images", "*.*"))
2115
ui_task_images_files = glob(join(PKG_NAME, "ui", "tasks", "images", "*.*"))
@@ -24,7 +18,7 @@
2418

2519
setup(
2620
name=PKG_NAME,
27-
version=info["__version__"],
21+
version="0.0.1",
2822
description='ETS based GUI application for image exploration and face '
2923
'detection',
3024
ext_modules=[],

0 commit comments

Comments
 (0)