Skip to content

Commit 0f0f75f

Browse files
committed
replace requirements.txt with setup.cfg|py; removed pytest.ini
1 parent f386d49 commit 0f0f75f

4 files changed

Lines changed: 57 additions & 7 deletions

File tree

pytest.ini

Lines changed: 0 additions & 2 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

setup.cfg

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# see documentation, e.g.
2+
# - https://packaging.python.org/tutorials/packaging-projects/#configuring-metadata
3+
# - https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
4+
# - https://www.python.org/dev/peps/pep-0314/
5+
6+
7+
[metadata]
8+
author = Netherlands eScience Center
9+
classifiers =
10+
Development Status :: 2 - Pre-Alpha
11+
Intended Audience :: Developers
12+
License :: OSI Approved :: Apache Software License
13+
Natural Language :: English
14+
Programming Language :: Python :: 3
15+
Programming Language :: Python :: 3.6
16+
Programming Language :: Python :: 3.7
17+
Programming Language :: Python :: 3.8
18+
Programming Language :: Python :: 3.9
19+
description = Cookiecutter template to initialize Python projects in accordance with Netherlands eScience Center best practices
20+
long_description = file: README.md
21+
long_description_content_type = text/markdown
22+
name = Netherlands eScience Center Python Template
23+
project_urls =
24+
Bug Tracker = https://github.com/NLeSC/python-template/issues
25+
url = https://github.com/NLeSC/python-template
26+
version = 0.2.0
27+
28+
29+
[options]
30+
zip_safe = False
31+
include_package_data = True
32+
packages =
33+
install_requires =
34+
cookiecutter==1.7.2
35+
36+
[options.data_files]
37+
# This section requires setuptools>=40.6.0
38+
# It remains empty for now
39+
# Check if MANIFEST.in works for your purposes
40+
41+
42+
[options.extras_require]
43+
dev =
44+
pytest<5.0.0,>=3.3.0
45+
pytest-cookies
46+
47+
48+
[tool:pytest]
49+
testpaths = tests
50+
norecursedirs = .git .github hooks {{cookiecutter.project_name}}

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env python
2+
import os
3+
from setuptools import setup
4+
5+
6+
# see setup.cfg
7+
setup()

0 commit comments

Comments
 (0)