Skip to content

Commit e1e2038

Browse files
Merge pull request #65 from jonathanrocher/feature/add_stage_8_setuptools
Feature: add stage 8 setuptools
2 parents 33c4dec + 8c6b7b0 commit e1e2038

54 files changed

Lines changed: 887 additions & 77 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ are able to reach the end goal.
108108
- add widgets to filter images
109109
- step 6: pyface application: adding menu and branding
110110
- step 7: pyface application: advanced features [OPTIONAL]
111-
- step 8: 1-click installer
111+
- step 8: Packaging and sharing
112112

113113

114114
## Contributing
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
2-
__version__ = "0.0.1"
Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
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-
123

134
setup(
14-
name=PKG_NAME,
15-
version=info["__version__"],
16-
description='Hello world in pyface task',
5+
name="pycasa",
6+
version="0.0.1",
7+
description='ETS based GUI application for image exploration and face '
8+
'detection',
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
)
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
2-
__version__ = "0.0.1"
Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
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-
123

134
setup(
14-
name=PKG_NAME,
15-
version=info["__version__"],
16-
description='Hello world in pyface task',
5+
name="pycasa",
6+
version="0.0.1",
7+
description='ETS based GUI application for image exploration and face '
8+
'detection',
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
)
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
2-
__version__ = "0.0.1"
Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
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-
123

134
setup(
14-
name=PKG_NAME,
15-
version=info["__version__"],
16-
description='Hello world in pyface task',
5+
name="pycasa",
6+
version="0.0.1",
7+
description='ETS based GUI application for image exploration and face '
8+
'detection',
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
)
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
2-
__version__ = "0.0.1"
Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
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-
123

134
setup(
14-
name=PKG_NAME,
15-
version=info["__version__"],
16-
description='Hello world in pyface task',
5+
name="pycasa",
6+
version="0.0.1",
7+
description='ETS based GUI application for image exploration and face '
8+
'detection',
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
)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Final stage of the tutorial: packaging pycasa ETS pyface application
2+
This stage finalizes the application `setup.py` file for easy packaging and
3+
distribution.

0 commit comments

Comments
 (0)