diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e83d150..7bcfac9 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -4,12 +4,17 @@ build: os: "ubuntu-20.04" tools: python: "3.8" + jobs: + post_create_environment: + - python -m pip install sphinx_rtd_theme sphinx: fail_on_warning: true + configuration: docs/conf.py python: # Install our python package before building the docs install: - method: pip - path: . \ No newline at end of file + path: . + diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b8aaecb --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,32 @@ +[project] +name = "kyupy" +version = "0.0.5" +authors = [ + { name="Stefan Holst", email="mail@s-holst.de" }, +] +description = 'High-performance processing and analysis of non-hierarchical VLSI designs' +readme = "README.rst" +requires_python = ">=3.8" +dependencies = [ + "numpy>=1.17.0", + "lark-parser>=0.8.0", +] +classifiers = [ + "Development Status :: 3 - Alpha", + "Environment :: GPU :: NVIDIA CUDA", + "Intended Audience :: Science/Research", + "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3", +] +license = "MIT" +license-files = ["LICENSE.txt"] + +[project.urls] +homepage = "https://github.com/s-holst/kyupy" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + diff --git a/setup.py b/setup.py deleted file mode 100644 index 1a2ac2d..0000000 --- a/setup.py +++ /dev/null @@ -1,40 +0,0 @@ -from setuptools import setup, find_packages - -with open('README.rst', 'r') as f: - long_description = f.read() - -setup( - name='kyupy', - version='0.0.5', - description='High-performance processing and analysis of non-hierarchical VLSI designs', - long_description=long_description, - long_description_content_type='text/x-rst', - packages=find_packages(where='src'), - package_dir={'': 'src'}, - url='https://github.com/s-holst/kyupy', - author='Stefan Holst', - author_email='mail@s-holst.de', - python_requires='>=3.8', - install_requires=[ - 'numpy>=1.17.0', - 'lark-parser>=0.8.0' - ], - extras_requires={ - 'dev': [ - 'pytest>=6.1', - ], - }, - classifiers=[ - 'Development Status :: 3 - Alpha', - 'Environment :: GPU :: NVIDIA CUDA', - 'Intended Audience :: Science/Research', - 'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)', - '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', - ], -)