-
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.
Merge pull request #1 from JordanWelsman/develop
To-do list complete. Merging now.
- Loading branch information
Showing
8 changed files
with
56 additions
and
15 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,14 @@ | ||
# MacOS | ||
.DS_Store | ||
|
||
# Python | ||
.venv/ | ||
|
||
# Package | ||
test.py | ||
|
||
# Setuptools | ||
build/ | ||
dist/ | ||
openjson.egg-info/ | ||
**/__pycache__/ |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
# Dunder attributes | ||
__version__ = "v0.0.0" # update setup.py | ||
__author__ = "Jordan Welsman" | ||
|
||
from .encoding import * | ||
from .loading import * | ||
from .saving import * | ||
|
||
__all__ = encoding.__all__, loading.__all__, saving.__all__ |
File renamed without changes.
File renamed without changes.
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 @@ | ||
__all__ = [] |
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 |
---|---|---|
|
@@ -10,20 +10,20 @@ | |
long_description = fh.read() | ||
|
||
# modular-json package data | ||
py_modules = ["load", "save"] | ||
py_modules = ["encoding", "loading", "saving"] | ||
|
||
# Run setup function | ||
setup( | ||
name='modular-json', | ||
name='openjson', | ||
version=version, | ||
description='A modular approach to parsing JSON.', | ||
description='A modular approach to handling JSON.', | ||
license='MIT', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
author='Jordan Welsman', | ||
author_email='[email protected]', | ||
url='https://pypi.org/project/modular-json/', | ||
download_url='https://github.com/JordanWelsman/modular-json/tags', | ||
url='https://pypi.org/project/openjson/', | ||
download_url='https://github.com/JordanWelsman/openjson/tags', | ||
classifiers=[ | ||
'Development Status :: 1 - Planning', | ||
'Intended Audience :: Developers', | ||
|
@@ -44,9 +44,11 @@ | |
"Programming Language :: Python :: 3.12" | ||
], | ||
package_data = { | ||
'modular-json': py_modules | ||
'openjson': py_modules | ||
}, | ||
python_requires=python_version, | ||
|
||
install_requires = [ | ||
"jutl" | ||
], | ||
keywords='python, json, modular, parsing, interpreting, exporting, importing' | ||
) |
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,23 @@ | ||
#!/bin/sh | ||
|
||
# modular-json Unbuild Script | ||
# To be used to delete the directories & files created by `python setup.py bdist_wheel`. | ||
|
||
# Author : Jordan Welsman | ||
# Copyright : Jordan Welsman | ||
|
||
echo "You are about to delete files & folders from jutils." | ||
echo "These files are crucial to the ability to install and import jutils." | ||
read -p "Do you want to continue? [Y/n]: " | ||
|
||
if [[ $REPLY =~ ^[Yy]$ ]] | ||
then | ||
rm -rf build # remove build directory if exists | ||
rm -rf dist # remove distribution directory if exists | ||
find . -name __pycache__ -type d -print0|xargs -0 rm -r -- # remove all pycache directories | ||
find . -name .pytest_cache -type d -print0|xargs -0 rm -r -- # remove all pytest cache directories | ||
find . -name openjson.egg-info -type d -print0|xargs -0 rm -r -- # remove all egg-info directories | ||
echo "Project successfully unbuilt." | ||
else | ||
echo "Operation aborted." | ||
fi |