Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix package for other installers (like poetry) #2

Merged
merged 6 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[project]
name = "async-simple-salesforce"
version = "1.12.6a3"
description = "Async fork of simple-salesforce"
authors = [{name="Erik Aker", email="[email protected]"}]
license = {file = "LICENSE.txt"}
Expand Down Expand Up @@ -31,6 +30,22 @@ dependencies = [
"typing-extensions",
"zeep",
]
dynamic = [
"version",
]

[build-system]
requires = ["setuptools", "versioningit"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
where = ["."]

[tool.setuptools.package-data]
mypkg = ["*.wsdl", "*.rst", "*.txt", "*.in", "*.md"]

[tool.versioningit]
default-version = "1.0.0+unknown"

[project.urls]
Repository = "https://github.com/MulliganFunding/async-simple-salesforce"
Expand All @@ -39,7 +54,7 @@ Changelog = "https://github.com/MulliganFunding/async-simple-salesforce/blob/mai
Releases = "https://github.com/MulliganFunding/async-simple-salesforce/releases"

[tool.pytest.ini_options]
minversion = "7.0"
minversion = "8.0"
asyncio_mode = "auto"
pythonpath = "."
addopts = "--cov=simple_salesforce --cov-report html"
Expand Down
3 changes: 3 additions & 0 deletions simple_salesforce/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Simple-Salesforce Package"""
# flake8: noqa
from importlib.metadata import version

from .api import Salesforce, SFType
from .bulk import SFBulkHandler
Expand All @@ -10,3 +11,5 @@
SalesforceResourceNotFound)
from .login import SalesforceLogin
from .format import format_soql, format_external_id

__version__ = version("async-simple-salesforce")
14 changes: 0 additions & 14 deletions simple_salesforce/__version__.py

This file was deleted.

4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading