Skip to content

Commit 8066269

Browse files
committed
Add setup.py
1 parent f2e1049 commit 8066269

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

stage3.0_first_views/setup.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
from os.path import abspath, dirname, join
2+
from setuptools import setup, find_packages
3+
4+
HERE = dirname(abspath(__file__))
5+
6+
PKG_NAME = "pycasa"
7+
8+
info = {}
9+
init_file = join(HERE, PKG_NAME, "__init__.py")
10+
11+
with open(init_file) as fp:
12+
exec(fp.read(), globals(), info)
13+
14+
setup(
15+
name=PKG_NAME,
16+
version=info["__version__"],
17+
description='Hello world for TraitsUI views',
18+
ext_modules=[],
19+
packages=find_packages(),
20+
data_files=[
21+
(".", ["README.md"]),
22+
],
23+
entry_points={
24+
'console_scripts': [
25+
f'pycasa = {PKG_NAME}.app.main:main',
26+
],
27+
},
28+
)

0 commit comments

Comments
 (0)