Skip to content

Commit

Permalink
Remove references to daughter project from setup
Browse files Browse the repository at this point in the history
In the process of tidy up the code here and in a daughter project,
django-feeds the setup got copied into this template. This commit
tidies all of that up.
  • Loading branch information
StuartMacKay committed Oct 22, 2023
1 parent 19310b2 commit 01a80c6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
23 changes: 14 additions & 9 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tag = True
tag_name = v{new_version}
sign_tags = True

[bumpversion:file:src/feeds/__init__.py]
[bumpversion:file:src/app_project/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

Expand Down Expand Up @@ -85,18 +85,16 @@ force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
line_length = 88

default_section = THIRDPARTY
known_django = django
known_first_party = feeds
known_first_party = app_project
sections =
FUTURE,
STDLIB,
DJANGO,
THIRDPARTY,
FIRSTPARTY,
LOCALFOLDER

skip =
migrations,
venv
Expand All @@ -107,6 +105,7 @@ DJANGO_SETTINGS_MODULE = demo.settings

testpaths =
src

[coverage:run]
branch = true
data_file = .coverage
Expand All @@ -126,17 +125,23 @@ exclude_lines =
[coverage:html]
directory = coverage

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310

[tox:tox]
envlist =
{py38,py310}-django{32,40}


[testenv:docs]
basepython=python
changedir=docs
deps= -r requirements/docs.txt
commands=
basepython = python
changedir = docs
deps = -r requirements/docs.txt
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

[testenv]
commands = pytest
deps = -r requirements/tests.txt
Expand Down
20 changes: 8 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,23 @@ def read(filename):


setup(
name="django-rss-feeds",
name="django-app-template",
version="0.0.0",
description="An aggregator for RSS and Atom feeds.",
description="A project template for reusable Django apps.",
long_description=read("README.md"),
long_description_content_type="text/x-rst",
author="Stuart MacKay",
author_email="smackay@flagstonesoftware.com",
keywords="django, rss, atom",
url="https://github.com/StuartMacKay/django-feeds",
packages=["feeds", "feeds/migrations"],
author="A Developer",
author_email="developer@example.com",
keywords="django, app, template",
url="https://github.com/StuartMacKay/django-app_template",
packages=["app_project", "app_project/migrations"],
package_dir={"": "src"},
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=[
"Django>=3.2,<3.3",
"croniter",
"Django>=3.2",
"django-extensions",
"django-tagulous",
"feedparser",
"python-dateutil",
"psycopg2-binary",
],
license="License :: OSI Approved :: Apache Software License",
Expand Down

0 comments on commit 01a80c6

Please sign in to comment.