-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
100 additions
and
0 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
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,6 @@ | ||
include AUTHORS | ||
include CHANGES.md | ||
include CREDITS.md | ||
include README.md | ||
include UNLICENSE | ||
include VERSION |
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,3 +1,4 @@ | ||
# Dogma for Python | ||
|
||
[![Project license](https://img.shields.io/badge/license-Public%20Domain-blue.svg)](https://unlicense.org) | ||
[![PyPI package](https://img.shields.io/pypi/v/dogma.py.svg)](https://pypi.org/project/dogma-py/) |
Empty file.
Empty file.
Empty file.
Empty file.
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,4 @@ | ||
[metadata] | ||
license_file=UNLICENSE | ||
|
||
[bdist_wheel] |
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,52 @@ | ||
#!/usr/bin/env python3 | ||
# This is free and unencumbered software released into the public domain. | ||
|
||
"""Installation script for Dogma.""" | ||
|
||
from codecs import open | ||
from os import path | ||
from setuptools import setup, find_packages | ||
from shutil import copyfile | ||
|
||
def readfile(*filepath): | ||
with open(path.join(*filepath), encoding='utf-8') as f: | ||
return f.read() | ||
|
||
PWD = path.abspath(path.dirname(__file__)) | ||
|
||
VERSION = readfile(PWD, 'VERSION').rstrip() | ||
LONG_DESCRIPTION = readfile(PWD, 'README.md') | ||
|
||
setup( | ||
name='dogma.py', | ||
version=VERSION, | ||
description="Dogma for Python", | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/dogmatists/dogma.py', | ||
author='Arto Bendiken', | ||
author_email='arto@bendiken.net', | ||
license='Public Domain', | ||
classifiers=[ | ||
'Development Status :: 2 - Pre-Alpha', | ||
'Environment :: Console', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Information Technology', | ||
'License :: Public Domain', | ||
'Natural Language :: English', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3 :: Only', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Topic :: Software Development :: Libraries', | ||
], | ||
keywords='', | ||
project_urls={'Source': 'https://github.com/dogmatists/dogma.py'}, | ||
packages=find_packages(where='src'), | ||
package_dir={'': 'src'}, | ||
install_requires=[], | ||
python_requires='~=3.6', | ||
extras_require={'test': ['pytest'],}, | ||
) |
Empty file.
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,9 @@ | ||
# This is free and unencumbered software released into the public domain. | ||
|
||
"""Dogma for Python.""" | ||
|
||
import sys | ||
|
||
assert sys.version_info >= (3, 6), "Dogma requires Python 3.6+" | ||
|
||
__all__ = [] |
Empty file.
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,11 @@ | ||
#!/usr/bin/env python3 | ||
# This is free and unencumbered software released into the public domain. | ||
|
||
"""Test cases for the dogma module.""" | ||
|
||
from dogma import * | ||
|
||
if __name__ == '__main__': | ||
import pytest, sys | ||
|
||
sys.exit(pytest.main(__file__)) |