Skip to content

Commit 103f4c5

Browse files
committed
install all requirements for packages
1 parent 13ff4a6 commit 103f4c5

12 files changed

Lines changed: 263 additions & 128 deletions

File tree

File renamed without changes.

.github/FUNDING.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# These are supported funding model platforms
3+
4+
github: [cnheider]
5+
patreon: cnheider
6+
open_collective: cnheider
7+
ko_fi: cnheider
8+
custom: # Replace with a single custom sponsorship URL
9+
10+
11+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
12+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
13+
liberapay: # Replace with a single Liberapay username
14+
issuehunt: # Replace with a single IssueHunt username
15+
otechie: # Replace with a single Otechie username

.github/disabled/stale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
workflow_dispatch:
5+
#inputs:
6+
# logLevel:
7+
# description: 'Log level'
8+
# required: true
9+
# default: 'warning'
10+
# tags:
11+
# description: 'Test scenario tags'
12+
#schedule:
13+
# - cron: "0 0 * * *"
14+
15+
jobs:
16+
stale:
17+
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/stale@v1
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
stale-issue-message: 'Stale issue message'
25+
stale-pr-message: 'Stale pull request message'
26+
stale-issue-label: 'no-issue-activity'
27+
stale-pr-label: 'no-pr-activity'

MANIFEST.in

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
include requirements*.txt # Include requirements
2+
3+
#include pyproject.toml
4+
5+
# Include the EMDS
6+
#include *.md
7+
#recursive-include . *.md
8+
global-include *.md
9+
10+
11+
12+
13+
# Include the license file
14+
#include LICENSE.txt
15+
16+
# Include the data files
17+
#recursive-include data *

devpack/__init__.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from warnings import warn
66

77
import pkg_resources
8-
98
from apppath import AppPath
109

1110
__project__ = "devpack"
@@ -61,9 +60,9 @@ def get_version(append_time: Any = DEVELOP) -> str:
6160
# never desirable for artifact repositories, so we strip the
6261
# leading 'v' if it's present.
6362
version = (
64-
version[1:]
65-
if isinstance(version, str) and version.startswith("v")
66-
else version
63+
version[1:]
64+
if isinstance(version, str) and version.startswith("v")
65+
else version
6766
)
6867
else:
6968
# Default version is an ISO8601 compliant datetime. PyPI doesn't allow
@@ -77,8 +76,8 @@ def get_version(append_time: Any = DEVELOP) -> str:
7776
# Publications using datetime versions should only be made from master
7877
# to represent the HEAD moving forward.
7978
warn(
80-
f"Environment variable VERSION is not set, only using datetime: {date_version}"
81-
)
79+
f"Environment variable VERSION is not set, only using datetime: {date_version}"
80+
)
8281

8382
# warn(f'Environment variable VERSION is not set, only using timestamp: {version}')
8483

docs/source/conf.py

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@
3333
# ones.
3434

3535
extensions = [
36-
"m2r",
37-
# 'recommonmark',
38-
"sphinxcontrib.programoutput",
39-
"sphinx.ext.autodoc",
40-
"sphinx.ext.autosummary",
41-
"sphinx.ext.napoleon",
42-
"sphinx.ext.doctest",
43-
"sphinx.ext.intersphinx",
44-
"sphinx.ext.todo",
45-
"sphinx.ext.coverage",
46-
"sphinx.ext.mathjax",
47-
"sphinx.ext.viewcode",
48-
"sphinx.ext.githubpages",
49-
"sphinx.ext.graphviz",
50-
]
36+
"m2r",
37+
# 'recommonmark',
38+
"sphinxcontrib.programoutput",
39+
"sphinx.ext.autodoc",
40+
"sphinx.ext.autosummary",
41+
"sphinx.ext.napoleon",
42+
"sphinx.ext.doctest",
43+
"sphinx.ext.intersphinx",
44+
"sphinx.ext.todo",
45+
"sphinx.ext.coverage",
46+
"sphinx.ext.mathjax",
47+
"sphinx.ext.viewcode",
48+
"sphinx.ext.githubpages",
49+
"sphinx.ext.graphviz",
50+
]
5151

5252
napoleon_use_ivar = True
5353

@@ -126,32 +126,32 @@
126126
# -- Options for LaTeX output ---------------------------------------------
127127

128128
latex_elements = {
129-
# The paper size ('letterpaper' or 'a4paper').
130-
#
131-
# 'papersize': 'letterpaper',
132-
# The font size ('10pt', '11pt' or '12pt').
133-
#
134-
# 'pointsize': '10pt',
135-
# Additional stuff for the LaTeX preamble.
136-
#
137-
# 'preamble': '',
138-
# Latex figure (float) alignment
139-
#
140-
# 'figure_align': 'htbp',
141-
}
129+
# The paper size ('letterpaper' or 'a4paper').
130+
#
131+
# 'papersize': 'letterpaper',
132+
# The font size ('10pt', '11pt' or '12pt').
133+
#
134+
# 'pointsize': '10pt',
135+
# Additional stuff for the LaTeX preamble.
136+
#
137+
# 'preamble': '',
138+
# Latex figure (float) alignment
139+
#
140+
# 'figure_align': 'htbp',
141+
}
142142

143143
# Grouping the document tree into LaTeX files. List of tuples
144144
# (source start file, target name, title,
145145
# author, documentclass [howto, manual, or own class]).
146146
latex_documents = [
147-
(
148-
master_doc,
149-
"Agent.tex",
150-
"Agent Documentation",
151-
"Christian Heider Nielsen",
152-
"manual",
153-
)
154-
]
147+
(
148+
master_doc,
149+
"Agent.tex",
150+
"Agent Documentation",
151+
"Christian Heider Nielsen",
152+
"manual",
153+
)
154+
]
155155

156156
# -- Options for manual page output ---------------------------------------
157157

@@ -165,16 +165,16 @@
165165
# (source start file, target name, title, author,
166166
# dir menu entry, description, category)
167167
texinfo_documents = [
168-
(
169-
master_doc,
170-
"agent",
171-
"Agent Documentation",
172-
author,
173-
"Agent",
174-
"One line description of project.",
175-
"Miscellaneous",
176-
)
177-
]
168+
(
169+
master_doc,
170+
"agent",
171+
"Agent Documentation",
172+
author,
173+
"Agent",
174+
"One line description of project.",
175+
"Miscellaneous",
176+
)
177+
]
178178

179179
# -- Options for Epub output ----------------------------------------------
180180

@@ -198,9 +198,9 @@
198198

199199
# Example configuration for intersphinx: refer to the Python standard library.
200200
intersphinx_mapping = {
201-
"python":("https://docs.python.org/", None),
202-
"numpy": ("http://docs.scipy.org/doc/numpy/", None),
203-
}
201+
"python":("https://docs.python.org/", None),
202+
"numpy": ("http://docs.scipy.org/doc/numpy/", None),
203+
}
204204

205205
# -- A patch that prevents Sphinx from cross-referencing ivar tags -------
206206
# See http://stackoverflow.com/a/41184353/3343043
@@ -233,14 +233,14 @@ def handle_item(fieldarg, content):
233233
typename = typename.replace("float", "python:float")
234234
typename = typename.replace("type", "python:type")
235235
par.extend(
236-
self.make_xrefs(
237-
self.typerolename,
238-
domain,
239-
typename,
240-
addnodes.literal_emphasis,
241-
**kw,
236+
self.make_xrefs(
237+
self.typerolename,
238+
domain,
239+
typename,
240+
addnodes.literal_emphasis,
241+
**kw,
242+
)
242243
)
243-
)
244244
else:
245245
par += fieldtype
246246
par += nodes.Text(")")

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[build-system]
2+
# These are the assumed default build requirements from pip:
3+
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
4+
requires = ["setuptools>=40.8.0", "wheel"]
5+
build-backend = "setuptools.build_meta"

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apppath
2-
warg
3-
draugr
1+
apppath[all]
2+
warg[all]
3+
draugr[all]
44
six

samples/import_nb.ipynb

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"metadata": {
3+
"language_info": {
4+
"codemirror_mode": {
5+
"name": "ipython",
6+
"version": 3
7+
},
8+
"file_extension": ".py",
9+
"mimetype": "text/x-python",
10+
"name": "python",
11+
"nbconvert_exporter": "python",
12+
"pygments_lexer": "ipython3",
13+
"version": "3.7.7-final"
14+
},
15+
"orig_nbformat": 2,
16+
"kernelspec": {
17+
"name": "Python 3.7.7 64-bit (conda)",
18+
"display_name": "Python 3.7.7 64-bit (conda)",
19+
"metadata": {
20+
"interpreter": {
21+
"hash": "be0e4750ffc890a028b6a3317d4147a542f852d18fef4863af5a58724da2f6b0"
22+
}
23+
}
24+
}
25+
},
26+
"nbformat": 4,
27+
"nbformat_minor": 2,
28+
"cells": [
29+
{
30+
"source": [
31+
"import apppath\n",
32+
"import warg\n",
33+
"\n",
34+
"import draugr\n",
35+
"\n",
36+
"print(warg.__version__)\n",
37+
"print(draugr.__version__)\n",
38+
"print(apppath.__version__)\n"
39+
],
40+
"cell_type": "code",
41+
"metadata": {
42+
"tags": []
43+
},
44+
"execution_count": 2,
45+
"outputs": [
46+
{
47+
"output_type": "stream",
48+
"name": "stdout",
49+
"text": "0.5.5\n0.8.2\n0.5.2\n"
50+
}
51+
]
52+
},
53+
{
54+
"cell_type": "code",
55+
"execution_count": null,
56+
"metadata": {},
57+
"outputs": [],
58+
"source": []
59+
}
60+
]
61+
}

samples/imports.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import apppath
2+
import warg
3+
4+
import draugr
5+
6+
print(warg.__version__)
7+
print(draugr.__version__)
8+
print(apppath.__version__)

0 commit comments

Comments
 (0)