18 Commits

Author SHA1 Message Date
gentlegiantJGC
c0d528f4db
Replaced freeze CLI with environment variable (#970)
The mechanism to pass arguments through build to the setup.py file is broken.
Switch to environment variables which seem to get passed through
2023-09-14 14:02:16 +01:00
gentlegiantJGC
ee2d2fe661 Moved openmp arg switching into setup.py
The setup.py finds which compiler is going to be used and finds if openmp is supported by it and sets the openmp args as required.
2022-09-29 13:32:54 +01:00
gentlegiantJGC
220fb08203 Improved packaging system
Moved settings into setup.cfg
Moved requirements into setup.cfg and removed requirements.txt
Cleaned up manifest.in
2022-06-21 11:17:03 +01:00
gentlegiantJGC
fefce3bce8
Fix requirements (#590)
* Revert "Updated requirements.txt to work around an issue with the compatible release version specifier"

This reverts commit 9dbecea1fe6320199c45669cfd96ed31f749f581.

* Upgrade pip before installing requirements

There was a bug in the old version of pip.
This upgrades it before installing the requirements

* Reformatted
2022-03-09 20:13:28 -05:00
gentlegiantJGC
3dea41f9e2 Fixed package check 2021-11-13 17:42:13 +00:00
gentlegiantJGC
c384d0e87e Improved dependency getting
The install commands now have an optional extra input to download the dependencies and freeze the required installs.
This will only be done when building the wheel file if the extra input is defined.
2021-11-13 17:13:18 +00:00
gentlegiantJGC
a526b4301f Reformatted 2021-10-07 15:29:35 +01:00
gentlegiantJGC
9f984d5925 Switched to using packaging module for version handling
The Version class we have is lacking and for some reason in the build system it could not import amulet_map_editor.
Hopefully this should work now.
2021-10-07 15:12:00 +01:00
gentlegiantJGC
4e90b2420e Removed system environment check.
Ideally this would be hidden behind a system argument/environment variable toggle but I can't work out how to do that on the build system.
2021-10-07 12:15:22 +01:00
gentlegiantJGC
d8386b9eb9 Fixed import and added a better error message 2021-09-28 11:48:45 +01:00
gentlegiantJGC
5fd0e677ec Find the newest version of each library to use
This used to be done by using pip but this doesn't work now we switched build system.
2021-09-28 11:01:36 +01:00
gentlegiantJGC
ae11106e5d Added support for cython when we want to use it in the future
Moved the glob to the manifest.in file
2021-08-08 16:49:00 +01:00
gentlegiantJGC
990ed25146 Reformatted 2021-08-07 20:47:45 +01:00
gentlegiantJGC
2a422fcc5d Moved setup logic to use the PEP 517/518 system 2021-08-07 20:36:30 +01:00
gentlegiantJGC
7e568849c6 Moved the pip freeze logic into setup.py
This does not modify the requirements.txt file it just modifies the requirements passed to the setup function.
2021-06-30 14:19:57 +01:00
gentlegiantJGC
de8037754a Reformatted setup.py and versioneer.py
These were not previously caught by the formatter.
Updated the stylecheck workflow.
2021-03-31 12:47:45 +01:00
gentlegiantJGC
df5363ff7b Fixed some setup issues 2020-11-14 15:16:13 +00:00
gentlegiantJGC
1987908b34 Added versioneer 2020-11-14 14:35:01 +00:00