-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pytest setup.py testは実行できる形で残し、残りはpyproject.toml化
- Loading branch information
1 parent
6200112
commit bee2123
Showing
2 changed files
with
39 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "bpnotify" | ||
version = "0.49" | ||
authors = [ | ||
{ name="BeProud Inc.", email="[email protected]" }, | ||
] | ||
description = "Notification routing for Django" | ||
readme = "README.rst" | ||
requires-python = ">=3.9" | ||
keywords=["django"] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Framework :: Django", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.2", | ||
"Intended Audience :: Developers", | ||
"Environment :: Plugins", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = ["Django>=3.2", "six", "Celery"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/beproud/bpnotify/" | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["."] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,3 @@ | ||
#!/usr/bin/env python | ||
#:coding=utf-8: | ||
from setuptools import setup | ||
|
||
import os | ||
from setuptools import setup, find_packages | ||
|
||
def read_file(filename): | ||
basepath = os.path.dirname(__file__) | ||
filepath = os.path.join(basepath, filename) | ||
with open(filepath) as f: | ||
read_text = f.read() | ||
return read_text | ||
|
||
|
||
setup( | ||
name='bpnotify', | ||
version='0.49', | ||
description='Notification routing for Django', | ||
author='BeProud', | ||
author_email='[email protected]', | ||
long_description=read_file('README.rst'), | ||
long_description_content_type="text/x-rst", | ||
url='https://github.com/beproud/bpnotify/', | ||
python_requires='>=3.9', | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Environment :: Plugins', | ||
'Framework :: Django', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: 3.12', | ||
'Framework :: Django', | ||
'Framework :: Django :: 3.2', | ||
'Framework :: Django :: 4.2', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
], | ||
include_package_data=True, | ||
packages=find_packages(), | ||
namespace_packages=['beproud', 'beproud.django'], | ||
test_suite='tests.main', | ||
install_requires=[ | ||
'Django>=3.2', | ||
'Celery>=5.2', | ||
'six', | ||
], | ||
zip_safe=False, | ||
) | ||
setup(test_suite="tests.main") |