Skip to content

Commit a8445f7

Browse files
Fix and simplify stage 4.0
1 parent 3b0a1e9 commit a8445f7

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

stage4.0_first_application/pycasa/app/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import logging
55

66
from pyface.tasks.api import TasksApplication, TaskFactory
7-
from ..ui.tasks.hello_world_task import HelloWorldTask
7+
8+
from pycasa.ui.tasks.hello_world_task import HelloWorldTask
89

910
logger = logging.getLogger(__name__)
1011

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
1-
from os.path import abspath, dirname, join
2-
from setuptools import setup, find_packages
3-
4-
HERE = dirname(abspath(__file__))
51

6-
PKG_NAME = "pycasa"
7-
8-
info = {}
9-
init_file = join(HERE, PKG_NAME, "__init__.py")
10-
exec(open(init_file).read(), globals(), info)
2+
from setuptools import setup, find_packages
113

124

135
setup(
14-
name=PKG_NAME,
15-
version=info["__version__"],
6+
name="pycasa",
7+
version="0.0.1",
168
description='Hello world in pyface task',
179
ext_modules=[],
1810
packages=find_packages(),
1911
data_files=[
2012
(".", ["README.md"]),
2113
],
22-
entry_points={
23-
'console_scripts': [
24-
'pycasa = {}.app.main:main'.format(PKG_NAME),
25-
],
26-
},
2714
)

0 commit comments

Comments
 (0)