Commit 7bc303a
authored
Finish
* Gather system `import`s and separate from external
* Reorder external `import`s
* Run `import setuptools`
* Use `setuptools` instead of `distutils`
* Drop explicit `cythonize` calls
As `setuptools` will handle this for us, go ahead and drop the
`cythonize` calls.
* Use Cython's `build_ext` (if available)
* Drop `setup_requires`
Since these build requirements are already in `pyproject.toml` and that
is the preferred way forward, drop them from `setup.py`.
* Move setuptool-scm config to `pyproject.toml`
* Move nearly all of `setup.py` to `pyproject.toml`
* Add more URLs
* Add `.txt` extension to license
* Use latest setuptools build backend
* Drop extra whitespace
* Add release note
* Fix lint
* Move `pytest` config options to `pyproject.toml`
* Move `.coveragerc` into `pyproject.toml`
* Standardize on `setuptools-scm` with `-`
* Add `setuptools` & `setuptools-scm` to dev reqs
* Consolidate requirements
* Move `setuptools` after `project` items
* Simplify classifiers
* Drop doc build as it already happens on RTD
This preceeded docs builds on RTD for PRs. Now that RTD does PR builds
for docs, this is redundant. So drop it.
* Move `msgpack` later and unwrap
* Run `flake8` before tests
* Bake coverage & doctest flags into pytest config
* Drop `coveralls` from dependencies
* Fix Codecov release note reference
* Use `int16` in doctests for consistent reprs
Windows defaults to `int32` so won't display those `dtype`s. Whereas
UNIX defaults to `int64` and so won't display those `dtype`s. This
creates mismatches between the representations in docstrings between the
two platforms. For simplicity just use `int16`, which both platforms
will represent the same. This should ensure consistency with doctests.
* Add coverage report output type to config too
* Push `numcodecs` test path into config
* Exclude directories outside of numcodecs
* Simplify `flake8` instructions
* Delete unused `build.cmd`
This was used to configure compilers on Windows in the past.
Particularly it was used to configure Python 2.7 Windows builds. However
as of Python 3.5 and UCRT on Windows, this is unnecessary. Further
Python 2.7 was improved by a one off Windows Python compiler installer.
In any event this can safely be dropped. It is not used in this repo and
shouldn't be needed outside of it.
* Drop upper bound on Python
* Drop `requirements_dev.txt` too
* Always use Cython's `new_build_ext`
This should always be available as `cython` is a build requirement. So
simplify to just use Cython and skip `setuptools` here.pyproject.toml migration (#382)1 parent 3b9129f commit 7bc303a
File tree
21 files changed
+157
-223
lines changed- .github/workflows
- docs
- numcodecs
21 files changed
+157
-223
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 32 | | |
37 | | - | |
| 33 | + | |
38 | 34 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 35 | + | |
| 36 | + | |
44 | 37 | | |
45 | 38 | | |
46 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
54 | | - | |
| 52 | + | |
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
60 | | - | |
| 58 | + | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | | - | |
| 40 | + | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | | - | |
| 46 | + | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
| 18 | + | |
| 19 | + | |
File renamed without changes.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 106 | + | |
112 | 107 | | |
113 | 108 | | |
114 | 109 | | |
| |||
147 | 142 | | |
148 | 143 | | |
149 | 144 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 145 | + | |
155 | 146 | | |
156 | 147 | | |
157 | 148 | | |
| |||
167 | 158 | | |
168 | 159 | | |
169 | 160 | | |
170 | | - | |
| 161 | + | |
171 | 162 | | |
172 | 163 | | |
173 | 164 | | |
174 | 165 | | |
175 | 166 | | |
176 | 167 | | |
177 | | - | |
| 168 | + | |
178 | 169 | | |
179 | 170 | | |
180 | 171 | | |
| |||
0 commit comments