Skip to content

Commit 02560bc

Browse files
committed
added py.typed
1 parent b9e1ce4 commit 02560bc

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ We still have no documentation but you can find a lot of examples in /demos/ fol
4141
<a id='installation'></a>
4242

4343
### Requirements
44-
- Python 3.6 - 3.10
44+
- Python 3.9+
4545
- `numpy` version 1.8 or higher: http://www.numpy.org/
4646
- `scipy` version 0.15 or higher: http://www.scipy.org/
4747
- `matplotlib` version 1.5 or higher: http://matplotlib.org/

py.typed

Whitespace-only changes.

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
'numpy', 'scipy', 'matplotlib', 'pandas', 'h5py'
2222
],
2323
extras_require={'docs': ['Sphinx', 'alabaster', 'sphinxcontrib-jsmath']},
24-
package_data={'ocelot.optics': ['data/*.dat']},
24+
package_data={'ocelot.optics': ['data/*.dat'],
25+
"ocelot": ["py.typed"]},
2526
license="GNU General Public License v3.0",
27+
python_requires=">=3.9"
2628
)

0 commit comments

Comments
 (0)