diff --git a/pyproject.toml b/pyproject.toml index 374b58c..c3cb8d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,39 @@ [build-system] -requires = [ - "setuptools>=42", - "wheel" +build-backend = 'flit_core.buildapi' +requires = ['flit_core >=3.4,<4'] + +[project] +name = "aiidalab-sssp" +dynamic = ['version'] # read from aiidalab_sss_workflow/__init__.py +authors = [{name = "Jusong Yu", email = "jusong.yu@psi.ch"}] +maintainers = [{name = "Jusong Yu", email = "jusong.yu@psi.ch"}] +description = "SSSP AiiDAlab app to run pseudopotential verificaiton and optimization" +readme = "README.md" +requires-python = ">=3.9" +license = {file="LICENSE"} +classifiers = [ + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Framework :: AiiDA", + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ] -build-backend = "setuptools.build_meta" +dependencies = [ + "aiida-sssp-workflow", + "solara" +] + +[project.optional-dependencies] +dev = [ + "pytest~=7.0", +] + +[project.urls] +Documentation = "https://aiida-sssp-workflow.readthedocs.io/" +Source = "https://github.com/aiidateam/aiida-sssp-workflow" + diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 1dd7a39..0000000 --- a/setup.cfg +++ /dev/null @@ -1,66 +0,0 @@ -[metadata] -name = aiidalab_sssp -version = 23.3.0 -description = AiiDAlab app to run pseudopotential verification -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/aiidalab/aiidalab-sssp -author = Jusong Yu -author_email = jusong.yu@psi.ch -license = MIT -license_file = LICENSE -classifiers = - License :: OSI Approved :: MIT License - Operating System :: OS Independent - Programming Language :: Python :: 3 - Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 -project_urls = - Logo = https://raw.githubusercontent.com/aiidalab/aiidalab-sssp/main/miscellaneous/logo-sssp.png - Bug Tracker = https://github.com/aiidalab/aiidalab-sssp/issues - Documentation = https://github.com/aiidalab/aiidalab-sssp#readme - -[options] -packages = find: -install_requires = - aiida-core~=2.2 - aiida-sssp-workflow~=3.0.0 - aiidalab-widgets-base~=2.0.0b5 - widget-bandsplot~=0.5.1 - widget-periodictable~=3.0 -python_requires = >=3.8 - -[options.extras_require] -dev = - bumpver==2021.1114 - pre-commit==2.11.1 - -[options.package_data] -aiidalab_sssp.parameters = ssspapp.yaml - -[aiidalab] -title = SSSP toolbox -description = Perform pseudopotential calculations and verification - -[flake8] -ignore = - E501 # Line length handled by black. - W503 # Line break before binary operator, preferred formatting for black. - E203 # Whitespace before ':', preferred formatting for black. - -[bumpver] -current_version = "v23.03.0" -version_pattern = "v0Y.0M.PATCH[PYTAGNUM]" -commit_message = "Bump version {old_version} -> {new_version}" -commit = True -tag = True -push = True - -[bumpver:file_patterns] -aiidalab_sssp/version.py = - __version__ = "{version}" -setup.cfg = - current_version = "{version}" - version = {pep440_version} diff --git a/setup.py b/setup.py deleted file mode 100644 index b908cbe..0000000 --- a/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -import setuptools - -setuptools.setup()