|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=62.0", "setuptools-git-versioning<2"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "diffpy.srfit" |
| 7 | +dynamic=['version'] |
| 8 | +authors = [ |
| 9 | + { name= "Simon J.L. Billinge group", email= "[email protected]" }, |
| 10 | +] |
| 11 | +maintainers = [ |
| 12 | + { name= "Simon J.L. Billinge group", email= "[email protected]" }, |
| 13 | +] |
| 14 | +description = "SrFit - Structure refinement from diffraction data" |
| 15 | +keywords = ['diffpy', 'optimization', 'constraints', 'restraints', 'structure refinement', 'complex modeling'] |
| 16 | +readme = "README.rst" |
| 17 | +requires-python = ">=3.10" |
| 18 | +classifiers = [ |
| 19 | + 'Development Status :: 5 - Production/Stable', |
| 20 | + 'Environment :: Console', |
| 21 | + 'Intended Audience :: Developers', |
| 22 | + 'Intended Audience :: Science/Research', |
| 23 | + 'License :: OSI Approved :: BSD License', |
| 24 | + 'Operating System :: MacOS :: MacOS X', |
| 25 | + 'Operating System :: Microsoft :: Windows', |
| 26 | + 'Operating System :: POSIX', |
| 27 | + 'Operating System :: Unix', |
| 28 | + 'Programming Language :: Python :: 3.10', |
| 29 | + 'Programming Language :: Python :: 3.11', |
| 30 | + 'Programming Language :: Python :: 3.12', |
| 31 | + 'Topic :: Scientific/Engineering :: Physics', |
| 32 | + 'Topic :: Scientific/Engineering :: Chemistry', |
| 33 | +] |
| 34 | + |
| 35 | +[project.urls] |
| 36 | +Homepage = "https://github.com/diffpy/diffpy.srfit/" |
| 37 | +Issues = "https://github.com/diffpy/diffpy.srfit/issues/" |
| 38 | + |
| 39 | +[tool.setuptools-git-versioning] |
| 40 | +enabled = true |
| 41 | +template = "{tag}" |
| 42 | +dev_template = "{tag}" |
| 43 | +dirty_template = "{tag}" |
| 44 | + |
| 45 | +[tool.setuptools.packages.find] |
| 46 | +where = ["src"] # list of folders that contain the packages (["."] by default) |
| 47 | +include = ["*"] # package names should match these glob patterns (["*"] by default) |
| 48 | +exclude = ["diffpy.srfit.tests*"] # exclude packages matching these glob patterns (empty by default) |
| 49 | +namespaces = false # to disable scanning PEP 420 namespaces (true by default) |
| 50 | + |
| 51 | +[tool.black] |
| 52 | +line-length = 115 |
| 53 | +include = '\.pyi?$' |
| 54 | +exclude = ''' |
| 55 | +/( |
| 56 | + \.git |
| 57 | + | \.hg |
| 58 | + | \.mypy_cache |
| 59 | + | \.tox |
| 60 | + | \.venv |
| 61 | + | \.rst |
| 62 | + | \.txt |
| 63 | + | _build |
| 64 | + | buck-out |
| 65 | + | build |
| 66 | + | dist |
| 67 | +
|
| 68 | + # The following are specific to Black, you probably don't want those. |
| 69 | + | blib2to3 |
| 70 | + | tests/data |
| 71 | +)/ |
| 72 | +''' |
0 commit comments