23 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
f760a5f1a2 Reorganize build procedure for Langkit_Support
This commit stops considering Langkit_Support as a generated project:

* move the "langkit/support" directory to "support" (not
  "langkit_support" for convenience with tab-completion);

* move the meat of the "langkit_support_gpr.mako" template to the static
  "langkit_support.gpr" file, and remove the template;

* remove the "build-langkit_support.py" script and all the corresponding
  libmanage.py/langkit_support.py code;

* enhance the top-level "manage.py" script to build/setenv
  Langkit_Support and import the packaging tools from
  "build-langkit_support.py".

From now on, Langkit_Support is a really a standalone library project,
and thus a "real" dependency for Langkit-generated libraries.

TN: T914-012
2020-10-26 15:36:55 +01:00
Pierre-Marie de Rodat
6b66ad1f86 Register the build-langkit_support.py script and fix misc/link_two_libs
So far, this testcase assumed that the "langkit" package was in a source
tree, whereas in the Travis CI setup, it comes from the setup.py
installation. Register the build-langkit_support.py script and introduce
PATH lookup in the misc/link_two_libs testcase to make it work on
Travis CI.

TN: T511-017
2020-05-26 16:58:32 +02:00
Pierre-Marie de Rodat
8c7bdc05fe setup.py: remove enum packages
These are incorrect now that Langkit requires Python3.

TN: T511-017
2020-05-26 16:58:32 +02:00
Pierre-Marie de Rodat
2b9b33d6a0 Remove __future__ imports and adjust stylechecks
TN: T511-017
2020-05-26 12:33:48 +02:00
Pierre-Marie de Rodat
019ce34cd6 setup.py: add coverage.css to package_data
TN: T312-019
2020-03-12 14:45:52 +01:00
Pierre-Marie de Rodat
16bd0f6db8 Add e3-core as a dependency for Langkit
TN: T127-017
2020-02-03 14:38:44 +01:00
Pierre-Marie de Rodat
21f57e9404 Make docutils mandatory
We use docutils to reformat comments during code generation, so it is
very useful: require it.

TN: S315-028
2019-03-29 15:21:25 +01:00
Pierre-Marie de Rodat
21713be19e setup.py: ship the langkit.lexer package
TN: S315-028
For GitHub issue #149
2019-03-29 15:21:25 +01:00
Pierre-Marie de Rodat
db3ce263c5 setup.py: replace 'requires' with 'install_requires'
TN: S315-028
2019-03-29 15:21:25 +01:00
Pierre-Marie de Rodat
818c304b0e setup.py: remove the "coverage" dependency
coverage.py is not a dependency in order to use Langkit.

TN: S315-028
2019-03-29 15:21:25 +01:00
Pierre-Marie de Rodat
e2be01f2d2 setup.py: update the list of packages to install
For #9
(no-tn-check)
2018-01-02 12:58:58 +01:00
Emmanuel Briot
d07b9779f1 Need to install the langkit/utils/ package as well 2017-12-27 13:00:58 +01:00
Pierre-Marie de Rodat
e120004619 setup.py: remove obsolete paths for adalog
TN: minor
2017-04-25 14:25:17 +02:00
Pierre-Marie de Rodat
d11c8a5d4a Remove all unicode_literals imports from __future__
TN: Q223-029
2017-04-25 14:24:30 +02:00
Pierre-Marie de Rodat
9774baf84d repo scripts: update __future__ imports
TN: Q223-029
2017-02-24 10:44:00 +01:00
Pierre-Marie de Rodat
25f2319f97 Propagate REQUIREMENTS.dev to setup.py
Change-Id: Ifda1f4ee7fe4cabf50ff51398b66afd6c3213a2a
TN: minor
2016-05-25 18:02:15 -04:00
Pierre-Marie de Rodat
adde9da677 setup.py: fix the set of adalog files in the package_data section
Change-Id: Iee4aa5c80a2c131b57a3900f3aa4fd051ebdbb00
TN: minor
2016-05-17 15:24:14 +02:00
Pierre-Marie de Rodat
f7829744cf setup.py: add the langkit.expressions package
Change-Id: Ie48472ef921a49427aac2f572d0ca968792fd91c
TN: minor
2016-05-17 15:23:25 +02:00
Pierre-Marie de Rodat
538f94a5d8 Distribute adalang in the Python package
Change-Id: Ie2e5cd901d18c41cf7c61228d610ca51255337c5
TN: minor
2016-04-25 15:27:39 +02:00
Pierre-Marie de Rodat
8337d69402 setup.py: make executable and fix data files detection
* Make the setup.py script executable for convenience.

  * Enhance langkit_support sources installation procedures in order to
    avoid temporary files such as the "obj" directory.

  * Update data files list to include Mako templates.

Change-Id: If16aa0b12b274eb1fabd5e24791f5f751874e23b
TN: P210-005
2016-02-10 12:04:58 +01:00
Pierre-Marie de Rodat
124f71553a Add missing absolute imports in Python code
Change-Id: Ica569f3b2d9769ba2c9ebe4fa409288fe28ade92
TN: OC16-023
2016-01-03 18:09:39 +01:00
Raphael Amiard
7d450a40b2 More pycharm conformance
Change-Id: If8a79d5759af2ca211e3d0f4e81992b28ce25cc7
TN: OC09-040
2015-12-11 10:18:01 +01:00
Raphael Amiard
f2517372d4 Moving langkit directory to the root 2015-12-08 12:09:22 +01:00