Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
Ales Komarek | 77274ec | 2017-09-07 09:24:30 +0200 | [diff] [blame] | 2 | ============== |
| 3 | Python formula |
| 4 | ============== |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 5 | |
| 6 | Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale. |
| 7 | |
| 8 | Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive standard library. |
| 9 | |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 10 | Available metadata |
| 11 | ================== |
| 12 | |
Ales Komarek | 77274ec | 2017-09-07 09:24:30 +0200 | [diff] [blame] | 13 | service.environment.environment: |
| 14 | Basic Python environment |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 15 | |
Ales Komarek | 77274ec | 2017-09-07 09:24:30 +0200 | [diff] [blame] | 16 | service.environment.development: |
| 17 | Python development environment |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 18 | |
Ales Komarek | 77274ec | 2017-09-07 09:24:30 +0200 | [diff] [blame] | 19 | python.environment.django: |
| 20 | Python Django environment |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 21 | |
| 22 | Sample pillars |
| 23 | ============== |
| 24 | |
| 25 | Simple Python environment |
| 26 | |
| 27 | .. code-block:: yaml |
| 28 | |
| 29 | python: |
| 30 | environment: |
| 31 | enabled: true |
| 32 | |
| 33 | Development Python environment |
| 34 | |
| 35 | .. code-block:: yaml |
| 36 | |
| 37 | python: |
| 38 | environment: |
| 39 | enabled: true |
| 40 | module: |
| 41 | development: true |
| 42 | |
| 43 | Python django environment |
| 44 | |
| 45 | .. code-block:: yaml |
| 46 | |
| 47 | python: |
| 48 | environment: |
| 49 | enabled: true |
| 50 | module: |
| 51 | django: true |
| 52 | |
Richard Felkl | a80eb55 | 2017-09-15 10:16:17 +0200 | [diff] [blame] | 53 | Using offline mirrors |
| 54 | |
| 55 | .. code-block:: yaml |
| 56 | |
| 57 | python: |
| 58 | environment: |
| 59 | enabled: true |
| 60 | user: |
Richard Felkl | 73896c2 | 2017-10-25 13:21:36 +0200 | [diff] [blame^] | 61 | root: |
Richard Felkl | a80eb55 | 2017-09-15 10:16:17 +0200 | [diff] [blame] | 62 | pypi_user: user |
| 63 | pypi_password: password |
| 64 | pypi_mirror: |
| 65 | host: http://pypi.local |
| 66 | port: 8084 |
| 67 | upstream_fallback: true |
| 68 | user: user |
| 69 | password: password |
| 70 | |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 71 | Read more |
| 72 | ========= |
| 73 | |
| 74 | * https://www.python.org/ |
Filip Pytloun | 5dd9a16 | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 75 | |
| 76 | Documentation and Bugs |
| 77 | ====================== |
| 78 | |
| 79 | To learn how to install and update salt-formulas, consult the documentation |
| 80 | available online at: |
| 81 | |
| 82 | http://salt-formulas.readthedocs.io/ |
| 83 | |
| 84 | In the unfortunate event that bugs are discovered, they should be reported to |
| 85 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 86 | formula: |
| 87 | |
| 88 | https://github.com/salt-formulas/salt-formula-python/issues |
| 89 | |
| 90 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 91 | use Launchpad salt-formulas project: |
| 92 | |
| 93 | https://launchpad.net/salt-formulas |
| 94 | |
| 95 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 96 | |
| 97 | https://launchpad.net/~salt-formulas-users |
| 98 | |
| 99 | Developers wishing to work on the salt-formulas projects should always base |
| 100 | their work on master branch and submit pull request against specific formula. |
| 101 | |
| 102 | https://github.com/salt-formulas/salt-formula-python |
| 103 | |
| 104 | Any questions or feedback is always welcome so feel free to join our IRC |
| 105 | channel: |
| 106 | |
| 107 | #salt-formulas @ irc.freenode.net |