Friday, 15 January 2010

python 3.x - Pyramid, Dart, setuptools -



python 3.x - Pyramid, Dart, setuptools -

i'm starting develop web application in python 3 in pyramid framework , utilize dart instead of js. however, dart must compiled js in order run in browsers.

my question: workflow developing pyramid web app using dart? should develop dart code separate , re-create built product pyramid project? or should have in 1 right form start , somehow manage within package? pyramid (more or less) forces usage of setuptools/distutils , relly don't know how should deal compiling dart code in setuptools/distutils context.

or there differend workflow didn't come mind?

i right @ start , open possibilites.

thanks answers/advice/whatever helps me.

note: i'm using pycharm ide professional (i.e. pyramid support) solution works in pycharm highly appreciated.

to trigger compilation of dart resources utilize "before launch" tasks of every pycharm run/debug configuration shown in screenshot of tutorial. there phone call pub build , build output directory picked pyramid application.

using pycharm pyramid dart pub commands

another handy feature during development reloading. pyramid has alternative reloading chameleon/jinja/mako templates. think dart tools provide same feature developers.

good luck project. seek if works you.

python-3.x dart pyramid setuptools dart2js

No comments:

Post a Comment