Skip to content

Commit

Permalink
Don't distribute tests.
Browse files Browse the repository at this point in the history
Also, update Python version numbers and bump our version number.
  • Loading branch information
thromer committed Jan 20, 2025
1 parent bd3f781 commit c5c9b8c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ To install:

`pip install mock-firestore`

Python 3.6+ is required for it to work.
Python 3.9+ is required for it to work.

## Usage

Expand Down Expand Up @@ -105,7 +105,7 @@ transaction.commit()
```

## Running the tests
* Create and activate a virtualenv with a Python version of at least 3.6
* Create and activate a virtualenv with a Python version of at least 3.9
* Install dependencies with `pip install -r requirements-dev-minimal.txt`
* Run tests with `python -m unittest discover tests -t /`

Expand All @@ -130,3 +130,4 @@ transaction.commit()
* [William Li](https://github.com/wli)
* [Ugo Marchand](https://github.com/UgoM)
* [Bryce Thornton](https://github.com/brycethornton)
* [Ted Romer](https://github.com/thromer)
14 changes: 8 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,22 @@

setuptools.setup(
name="mock-firestore",
version="0.11.0",
version="0.11.1",
author="Matt Dowds",
description="In-memory implementation of Google Cloud Firestore for use in tests",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/mdowds/mock-firestore",
packages=setuptools.find_packages(),
packages=setuptools.find_packages(exclude=["tests"]),
python_requires=">=3.9",
test_suite='',
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
"License :: OSI Approved :: MIT License",
],
)
)

0 comments on commit c5c9b8c

Please sign in to comment.