Commit graph

17 commits

Author SHA1 Message Date
Gina Häußge
35b1232b0a Fixed hen-egg problem in setup.py
setup.py tried to use babel imports before the necessary requirements
were fetched. Now only tries to import that stuff if
babel_{refresh|compile|new} is called instead of importing it
in the file header.
2014-08-28 15:59:57 +02:00
Gina Häußge
a9736b96c0 po2json is only needed in development environments, so don't try to always import it 2014-08-27 15:13:19 +02:00
Gina Häußge
53e52c841b First version of OctoPrint with i18n/l10n support
Also included is a translation for (informal) german.

New languages can be added with "python setup.py babel_new --locale=<language code>" which will create the corresponding .po file from the existing .pot file under "src/octoprint/translations/<language code>". Translations can be refreshed from strings in source with "python setup.py babel_refresh". Existing translations can be compiled into usable translation files (.mo for python and .js for Javascript) via "python setup.py babel_compile".

 You'll need to install the development dependencies for all of this to work, just issue "pip install -r requirements-dev.txt"

 Note: numbers are not yet correctly formatted for their respective locale (e.g. "2.5mm" instead of "2,5mm" in german).
2014-08-27 14:46:46 +02:00
Gina Häußge
76a9e94aed Added clean command to setup.py 2014-06-23 13:09:54 +02:00
Gina Häußge
de7808d42b Fixed setup.py to correctly work with versioneer 2014-06-23 10:35:59 +02:00
Gina Häußge
55b24c6a45 Removed left overs from old VERSION tracking
(cherry picked from commit 603f667)
2014-06-22 01:15:53 +02:00
Gina Häußge
285f464b43 Versioning by versioneer: https://github.com/warner/python-versioneer/ 2014-06-22 00:41:03 +02:00
Gina Häußge
ac75ee9831 Starting documentation based on Sphinx 2013-12-02 17:40:31 +01:00
Gina Häußge
51ae782f02 Moved octoprint sources to "src" folder, adjusted setup.py and run script accordingly 2013-09-15 21:45:33 +02:00
Gina Häußge
31698d3543 First version of setup.py for packaging OctoPrint 2013-07-09 21:39:07 +02:00
Gina Häußge
a0cac835b5 Major reorganization to only include the communication stack from Cura. 2012-12-31 13:18:55 +01:00
Daid
943cd97ab9 Keep the example and firmware data in subdirectories. 2012-12-24 12:27:08 +01:00
daid303
3b37498d2e Updated version number to 12.12, fixed some minor packaging issues. 2012-12-20 09:27:06 +01:00
Ilya Kulakov
8ee80a5e34 Make app an owner of file formats.
Since Cura works with file formats designed for exporting
it makes sense to be an Owner of such files, since Cura
prints them.
2012-12-13 20:37:46 +07:00
Ilya Kulakov
449c54d44d Fix darwin setup.py according to new resources structure. 2012-12-07 15:45:06 +07:00
Ilya Kulakov
252244cb65 package.sh is able to package Cura using new build system. 2012-12-06 19:39:37 +07:00
Ilya Kulakov
0e6b9fd67e New py2app based distribution of Cura for Mac OS X. 2012-12-05 19:16:41 +07:00