|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=62.0", "setuptools-git-versioning>=2.0"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "diffpy.srfit" |
| 7 | +dynamic=['version', 'dependencies'] |
| 8 | +classifiers = [ |
| 9 | + 'Development Status :: 5 - Production/Stable', |
| 10 | + 'Environment :: Console', |
| 11 | + 'Intended Audience :: Developers', |
| 12 | + 'Intended Audience :: Science/Research', |
| 13 | + 'Operating System :: MacOS :: MacOS X', |
| 14 | + 'Operating System :: Microsoft :: Windows', |
| 15 | + 'Operating System :: POSIX', |
| 16 | + 'Operating System :: Unix', |
| 17 | + 'Topic :: Scientific/Engineering :: Physics', |
| 18 | + 'Topic :: Scientific/Engineering :: Chemistry', |
| 19 | +] |
| 20 | + |
| 21 | + |
| 22 | +[tool.setuptools-git-versioning] |
| 23 | +enabled = true |
| 24 | +template = "{tag}" |
| 25 | +dev_template = "{tag}" |
| 26 | +dirty_template = "{tag}" |
| 27 | + |
| 28 | +[tool.setuptools.packages.find] |
| 29 | +where = ["src"] # list of folders that contain the packages (["."] by default) |
| 30 | +include = ["*"] # package names should match these glob patterns (["*"] by default) |
| 31 | +exclude = [] # exclude packages matching these glob patterns (empty by default) |
| 32 | +namespaces = false # to disable scanning PEP 420 namespaces (true by default) |
| 33 | + |
| 34 | +[tool.setuptools.dynamic] |
| 35 | +dependencies = {file = ["requirements/run.txt"]} |
| 36 | + |
1 | 37 | [tool.black]
|
2 | 38 | line-length = 115
|
3 | 39 | include = '\.pyi?$'
|
4 | 40 | exclude = '''
|
5 | 41 | /(
|
6 |
| - \.git\ |
| 42 | + \.git |
| 43 | + | \.hg |
7 | 44 | | \.mypy_cache
|
8 | 45 | | \.tox
|
9 | 46 | | \.venv
|
10 |
| - | _build/ |
| 47 | + | \.rst |
| 48 | + | \.txt |
| 49 | + | _build |
11 | 50 | | buck-out
|
12 | 51 | | build
|
13 | 52 | | dist
|
| 53 | +
|
| 54 | + # The following are specific to Black, you probably don't want those. |
14 | 55 | | blib2to3
|
15 |
| - | tests/data/ |
16 |
| - | hooks/post_gen_project.py$ |
17 |
| - | .*\.py$ |
18 |
| - | .*\.toml$ |
| 56 | + | tests/data |
19 | 57 | )/
|
20 | 58 | '''
|
0 commit comments