diff --git a/.gitignore b/.gitignore index 02e6991..80eac8a 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ rcfile **/.mypy_cache/** build/ +dist/** .DS_Store # Kiln stuff diff --git a/CHANGELOG.md b/CHANGELOG.md index f59d677..6679c00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## Versions Above v1.2.0 + +See [the GitHub Releases page](https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/releases). + ## Version v1.2.0 ### Added diff --git a/LICENSE b/LICENSE index cd41792..2c5b3ef 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Bryce Willey +Copyright (c) 2026 Bryce Willey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/MANIFEST.in b/MANIFEST.in index bb3ec5f..b0393e3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,17 @@ include README.md +graft docassemble/EFSPIntegration/data +recursive-exclude * *.egg-info +recursive-exclude .git * +recursive-exclude venv * +recursive-exclude .github * +recursive-exclude .pytest_cache * +recursive-exclude .vscode * +recursive-exclude build * +recursive-exclude dist * +recursive-exclude * __pycache__ +recursive-exclude * *.pyc +recursive-exclude * *.pyo +recursive-exclude * *.orig +recursive-exclude * *~ +recursive-exclude * *.bak +recursive-exclude * *.swp \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 8a1396c..90355a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,7 @@ -# Just for local builds: -# for publishing / installing to docassemble < 1.8.0 -# setup.py is still used. +[build-system] +requires = ["setuptools>=60,<82.0.0"] +build-backend = "setuptools.build_meta" + [project] name = "docassemble.EFSPIntegration" version = "1.7.3" @@ -9,7 +10,7 @@ requires-python=">=3.10,>=3.12.3,<3.13" dependencies = [ "docassemble.AssemblyLine>=3.5.0", "docassemble.ALToolbox>=0.6.2", - "requests>2.25.1" + "requests>=2.25.1" ] license="MIT" license-files = ["LICEN[CS]E*"] @@ -20,19 +21,13 @@ authors = [ [project.urls] GitHub = "https://github.com/SuffolkLITLab/docassemble-EFSPIntegration" -[build-system] -requires = [ - "setuptools>=60,<82.0.0", - "setuptools-scm>=8.1"] -build-backend = "setuptools.build_meta" - -[tool.setuptools] -packages = ["docassemble.EFSPIntegration"] +[tool.setuptools.packages.find] +where = ["."] [dependency-groups] dev = [ - "docassemble.base==1.8.4", - "docassemble.webapp==1.8.4", + "docassemble.base==1.9.2", + "docassemble.webapp==1.9.2", "types-requests", "types-python-dateutil", "mypy", diff --git a/setup.cfg b/setup.cfg index 08aedd7..97448c0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -description_file = README.md +long_description = file: README.md \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index b43b8fa..0000000 --- a/setup.py +++ /dev/null @@ -1,58 +0,0 @@ -import os -from setuptools import setup, find_namespace_packages -from fnmatch import fnmatchcase -from distutils.util import convert_path - -standard_exclude = ('*.pyc', '*~', '.*', '*.bak', '*.swp*') -standard_exclude_directories = ('.*', 'CVS', '_darcs', './build', './dist', 'EGG-INFO', '*.egg-info') -def find_package_data(where='.', package='', exclude=standard_exclude, exclude_directories=standard_exclude_directories): - out = {} - stack = [(convert_path(where), '', package)] - while stack: - where, prefix, package = stack.pop(0) - for name in os.listdir(where): - fn = os.path.join(where, name) - if os.path.isdir(fn): - bad_name = False - for pattern in exclude_directories: - if (fnmatchcase(name, pattern) - or fn.lower() == pattern.lower()): - bad_name = True - break - if bad_name: - continue - if os.path.isfile(os.path.join(fn, '__init__.py')): - if not package: - new_package = name - else: - new_package = package + '.' + name - stack.append((fn, '', new_package)) - else: - stack.append((fn, prefix + name + '/', package)) - else: - bad_name = False - for pattern in exclude: - if (fnmatchcase(name, pattern) - or fn.lower() == pattern.lower()): - bad_name = True - break - if bad_name: - continue - out.setdefault(package, []).append(prefix+name) - return out - -setup(name='docassemble.EFSPIntegration', - version='1.7.3', - description=(''), - long_description='# docassemble-EFSPIntegration\r\n\r\nA docassemble extension that talks to [a proxy e-filing server](https://github.com/SuffolkLITLab/EfileProxyServer/) easily within a docassemble interview.\r\n\r\nMain interviews of import:\r\n\r\n* any_filing_interview.yml: allows you to make any type of filing, initial or subsequent\r\n* admin_interview.yml: lets you handle admin / user functionality, outside of the context of cases and filings\r\n\r\nIn progress!\r\n\r\n## Authors\r\n\r\nQuinten Steenhuis (qsteenhuis@suffolk.edu)\r\nBryce Willey (bwilley@suffolk.edu)\r\n', - long_description_content_type='text/markdown', - author='Bryce Willey', - author_email='bwilley@suffolk.edu', - license='The MIT License (MIT)', - url='https://github.com/SuffolkLITLab/docassemble-EFSPIntegration', - packages=find_namespace_packages(), - install_requires=['docassemble.AssemblyLine>=3.5.0', 'docassemble.ALToolbox>=0.6.2', 'requests>=2.25.1'], - zip_safe=False, - package_data=find_package_data(where='docassemble/EFSPIntegration/', package='docassemble.EFSPIntegration'), - ) -