Skip to content
Snippets Groups Projects
Commit 1581e0ff authored by Rahil Doshi's avatar Rahil Doshi
Browse files

Add setup.py and update .gitignore and pyproject.toml

parent 7f267467
No related branches found
No related tags found
No related merge requests found
Pipeline #70459 passed
...@@ -4,3 +4,4 @@ __pycache__ ...@@ -4,3 +4,4 @@ __pycache__
.idea .idea
*.egg-info* *.egg-info*
**/cmake-build*/ **/cmake-build*/
/build
\ No newline at end of file
...@@ -47,7 +47,7 @@ addopts = "-v" # --cov=pymatlib ...@@ -47,7 +47,7 @@ addopts = "-v" # --cov=pymatlib
testpaths = [ testpaths = [
"tests", "tests",
] ]
# pythonpath = ["src"] pythonpath = ["src"]
[tool.setuptools] [tool.setuptools]
include-package-data = true include-package-data = true
......
setup.py 0 → 100644
from setuptools import setup, find_packages
import versioneer
def get_cmdclass():
return versioneer.get_cmdclass()
setup(
name='pymatlib',
# version='0.1.0', # Update this version as needed
version=versioneer.get_version(),
author='Rahil Doshi', # Replace with your name
author_email='rahil.doshi@fau.de', # Replace with your email
description='A Python based material library',
long_description=open('README.md').read(), # Ensure you have a README.md file
long_description_content_type='text/markdown',
url='https://i10git.cs.fau.de/rahil.doshi/pymatlib', # Replace with your repository URL
packages=find_packages(where='src'), # Automatically find packages in the src directory
package_dir={'': 'src'}, # Set the source directory
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Development Status :: 3 - Alpha', # Adjust as necessary
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
],
python_requires='>=3.10', # Specify the minimum Python version required
install_requires=[
'numpy>=1.18.0', # Specify required packages and their versions
'sympy>=1.7.0',
'pytest>=6.0.0',
'pystencils@git+https://i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev'
],
extras_require={
'dev': [
'pytest-cov', # For coverage reporting during tests
'flake8', # For style checking
'black', # For code formatting
],
},
include_package_data=True, # Include package data specified in MANIFEST.in
cmdclass=get_cmdclass(), # Add command class from versioneer
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment