-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
50 lines (42 loc) · 1.86 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import os
import sys
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
# The placeholder is to be able to install it as editable
version = os.getenv("CIRCLE_TAG", os.getenv("CIRCLE_SHA1")) or "0.0.0"
setup(
name="django-jaiminho",
version=version,
description="A broker agnostic implementation of outbox and other message resilience patterns for Django apps",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/loadsmart/django-jaiminho",
author="Loadsmart",
author_email="jaiminho@loadsmart.com",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: Other/Proprietary License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
packages=find_packages(exclude=["docs", "tests", "jaiminho_django_test_project"]),
python_requires=">=3.8, <4",
install_requires=["Django", "sentry_sdk", "dill==0.3.9"],
project_urls={
"Documentation": "https://github.com/loadsmart/django-jaiminho/blob/master/README.md",
"Source": "https://github.com/loadsmart/django-jaiminho",
"Changelog": "https://github.com/loadsmart/django-jaiminho/blob/master/CHANGELOG.md",
},
)