Skip to content

Commit e00394d

Browse files
authored
Merge pull request #9 from cadenmyers13/modified
Modified files in cookiecutter
2 parents 0cc4569 + 1afd6f9 commit e00394d

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

AUTHORS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Authors
22
=======
33

4-
Billinge Group and community contibutors.
4+
Billinge Group and community contributors.
55

66
Contributors
77
------------

MANIFEST.in

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
include AUTHORS.rst
2-
include LICENSE
3-
include README.rst
4-
include requirements.txt
5-
6-
recursive-exclude * __pycache__
7-
recursive-exclude * *.py[co]
8-
9-
recursive-include docs *.rst conf.py Makefile make.bat
10-
11-
include diffpy.fourigui/version.py
12-
13-
# If including data files in the package, add them like:
14-
# include path/to/data_file
1+
graft src
2+
graft tests
3+
graft requirements
4+
5+
include AUTHORS.rst LICENSE*.rst README.rst
6+
7+
# Exclude all bytecode files and __pycache__ directories
8+
global-exclude *.py[cod] # Exclude all .pyc, .pyo, and .pyd files.
9+
global-exclude .DS_Store # Exclude Mac filesystem artifacts.
10+
global-exclude __pycache__ # Exclude Python cache directories.
11+
global-exclude .git* # Exclude git files and directories.
12+
global-exclude .idea # Exclude PyCharm project settings.

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["setuptools>=62.0", "setuptools-git-versioning<2"]
2+
requires = ["setuptools>=62.0", "setuptools-git-versioning>=2.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "diffpy.fourigui"
7-
dynamic=['version']
7+
dynamic=['version', 'dependencies']
88
authors = [
99
{ name="Simon J.L. Billinge group", email="[email protected]" },
1010
]
@@ -45,9 +45,12 @@ dirty_template = "{tag}"
4545
[tool.setuptools.packages.find]
4646
where = ["src"] # list of folders that contain the packages (["."] by default)
4747
include = ["*"] # package names should match these glob patterns (["*"] by default)
48-
exclude = ["diffpy.fourigui.tests*"] # exclude packages matching these glob patterns (empty by default)
48+
exclude = [] # exclude packages matching these glob patterns (empty by default)
4949
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
5050

51+
[tool.setuptools.dynamic]
52+
dependencies = {file = ["requirements/run.txt"]}
53+
5154
[tool.black]
5255
line-length = 115
5356
include = '\.pyi?$'

requirements/build.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
python
2-
setuptools

requirements/test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ flake8
22
pytest
33
codecov
44
coverage
5+
pytest-cov
56
pytest-env

0 commit comments

Comments
 (0)