Skip to content

Commit 099848d

Browse files
Updated requirements for installing xlumina
1 parent 24332ca commit 099848d

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

setup.py

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,32 @@
1414
year = '2023'
1515
url = 'https://github.com/artificial-scientist-lab/XLuminA'
1616

17-
18-
def get_version():
19-
content = open(Path(package_name) / '__init__.py').readlines()
20-
return "0.0.1"
21-
2217
setup(
2318
name=dist_name,
2419
author=author,
2520
author_email=email,
2621
url=url,
27-
version=get_version(),
22+
version="1.0.0",
2823
packages=find_packages(),
2924
package_dir={dist_name: package_name},
3025
include_package_data=True,
3126
license='MIT',
3227
description=description,
33-
long_description=open('README.md').read() if exists('README.md') else '',
28+
long_description=Path('README.md').read_text() if Path('README.md').exists() else '',
3429
long_description_content_type="text/markdown",
3530
install_requires=[
36-
'jax==0.4.13', 'jaxlib==0.4.13', 'numpy', 'optax', 'scipy', 'matplotlib'
31+
'jax==0.4.33',
32+
'numpy',
33+
'optax==0.2.3',
34+
'scipy==1.14.1',
35+
'matplotlib'
36+
],
37+
python_requires=">=3.10",
38+
classifiers=[
39+
'Operating System :: OS Independent',
40+
'Programming Language :: Python :: 3.10',
41+
'Programming Language :: Python :: 3.11',
3742
],
38-
python_requires=">=3.8",
39-
classifiers=['Operating System :: OS Independent',
40-
'Programming Language :: Python :: 3',
41-
],
4243
platforms=['ALL'],
4344
py_modules=[package_name],
4445
)

0 commit comments

Comments
 (0)