Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #88168 > unrolled thread

Python counterpart of Elixir's build tool Mix - or: why is it so cumbersome to "create packages"

Started byStefan Otte <stefan.otte@gmail.com>
First post2015-03-27 16:49 +0100
Last post2015-03-27 16:49 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Python counterpart of Elixir's build tool Mix - or: why is it so cumbersome to "create packages" Stefan Otte <stefan.otte@gmail.com> - 2015-03-27 16:49 +0100

#88168 — Python counterpart of Elixir's build tool Mix - or: why is it so cumbersome to "create packages"

FromStefan Otte <stefan.otte@gmail.com>
Date2015-03-27 16:49 +0100
SubjectPython counterpart of Elixir's build tool Mix - or: why is it so cumbersome to "create packages"
Message-ID<mailman.269.1427471809.10327.python-list@python.org>
Hey,

lately I was playing with elixir [1] and I found Mix [2], elixir's
"build/task tool", to be amazing. Creating new projects, compiling,
installing dependencies, running and testing -- really easy! For what
I'm concerned mix convinced me just for the "mix new projectname"
command:

* creating README.md
* creating .gitignore
* creating mix.exs
* creating config
* creating config/config.exs
* creating lib
* creating lib/kv.ex
* creating test
* creating test/test_helper.exs
* creating test/kv_test.exs

It creates a reasonable skeleton which is the base for all the other
mix commands.
Yes, yes, there are skeleton generators for python, lots and lots of
blog posts that describe the ideal project layout, setup.py for
installing and testing, also lots and lots of blog posts about this...
You can do all of the tasks with python. Mix just seems to be more
"coherent".

Sorry, for the little rant! Mix just made me reevaluate my python
workflow again and I think there is room for improvement [4]. So what
is you take on it? What is your workflow? Do you have any tips?


Best,
 Stefan


[1] http://elixir-lang.org/
[2] http://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html
[3] http://elixir-lang.org/docs/v1.0/mix/
[4] I'm not really sorry for the rant. Getting a fresh perspective, a
different point of view, is probably the main reason why one picks up
new languages....and it worked this time :)

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web