Skip to content

Commit 4f089ed

Browse files
Merge pull request #77 from jonathanrocher/fix/fix_simplify_4.0
Fix and simplify 4.0
2 parents a18a3e0 + 99ddcf2 commit 4f089ed

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
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: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,8 @@
1-
from os.path import abspath, dirname, join
21
from setuptools import setup, find_packages
32

4-
HERE = dirname(abspath(__file__))
5-
6-
PKG_NAME = "pycasa"
7-
8-
info = {}
9-
init_file = join(HERE, PKG_NAME, "__init__.py")
10-
exec(open(init_file).read(), globals(), info)
11-
12-
133
setup(
14-
name=PKG_NAME,
15-
version=info["__version__"],
4+
name="pycasa",
5+
version="0.0.1",
166
description='Hello world in pyface task',
17-
ext_modules=[],
187
packages=find_packages(),
19-
data_files=[
20-
(".", ["README.md"]),
21-
],
22-
entry_points={
23-
'console_scripts': [
24-
'pycasa = {}.app.main:main'.format(PKG_NAME),
25-
],
26-
},
278
)

0 commit comments

Comments
 (0)