Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymatlib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rahil Doshi
pymatlib
Commits
1581e0ff
Commit
1581e0ff
authored
6 months ago
by
Rahil Doshi
Browse files
Options
Downloads
Patches
Plain Diff
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
6 months ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
setup.py
+45
-0
45 additions, 0 deletions
setup.py
with
47 additions
and
1 deletion
.gitignore
+
1
−
0
View file @
1581e0ff
...
@@ -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
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
1581e0ff
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
setup.py
0 → 100644
+
45
−
0
View file @
1581e0ff
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
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment