-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#5 create package structure and update output paths
- Loading branch information
1 parent
62e0563
commit 2916028
Showing
186 changed files
with
651 additions
and
140 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,31 @@ | ||
# Changelog | ||
|
||
Scribe-Data tries to follow [semantic versioning](https://semver.org/), a MAJOR.MINOR.PATCH version where increments are made of the: | ||
|
||
- MAJOR version when we make incompatible API changes | ||
- MINOR version when we add functionality in a backwards compatible manner | ||
- PATCH version when we make backwards compatible bug fixes | ||
|
||
Emojis for the following are chosen based on [gitmoji](https://gitmoji.dev/). | ||
|
||
# Scribe-Data 1.0.0 | ||
|
||
### 🚀 Deployment | ||
|
||
Releasing a Python package so that codes are accessible and the structure is set for future project iterations. | ||
|
||
### ✨ Features | ||
|
||
- Data updates are done via a single file that loads new formatted data into each Scribe application. | ||
|
||
### 🗃️ Data | ||
|
||
- Data extraction and formatting scripts for each of Scribe's current languages as well as those with significant data on Wikidata are included. | ||
|
||
### 🐞 Bug Fixes | ||
|
||
- The data update process has been fixed to work for all queries. | ||
|
||
### ♻️ Code Refactoring | ||
|
||
- The data update process now updates files in Android and Desktop directories if they're present. |
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 @@ | ||
include CHANGELOG.* LICENSE.* | ||
graft src | ||
global-exclude *.py[cod] | ||
global-exclude .DS_Store |
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
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,7 @@ | ||
black>=19.10b0 | ||
certifi>=2020.12.5 | ||
packaging>=20.9 | ||
sentencepiece>=0.1.95 | ||
transformers>=4.12 | ||
wikidataintegrator>=0.9.22 | ||
python-dateutil>=2.8.2 |
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,5 @@ | ||
[metadata] | ||
description-file = README.md | ||
|
||
[options.data_files] | ||
. = requirements.txt |
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,51 @@ | ||
import os | ||
|
||
try: | ||
from setuptools import setup | ||
except ImportError: | ||
from distutils.core import setup | ||
|
||
from setuptools import find_packages | ||
|
||
package_directory = os.path.abspath(os.path.dirname(__file__)) | ||
with open(os.path.join(package_directory, "README.md"), encoding="utf-8") as fh: | ||
long_description = fh.read() | ||
|
||
with open( | ||
os.path.join(package_directory, "requirements.txt"), encoding="utf-8" | ||
) as req_file: | ||
requirements = req_file.readlines() | ||
|
||
on_rtd = os.environ.get("READTHEDOCS") == "True" | ||
if on_rtd: | ||
requirements = [] | ||
|
||
setup_args = dict( | ||
name="scribe-data", | ||
packages=find_packages(where="src"), | ||
package_dir={"": "src"}, | ||
version="1.0.0", | ||
author="Andrew Tavis McAllister", | ||
author_email="[email protected]", | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Education", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Operating System :: OS Independent", | ||
], | ||
python_requires=">=3.6", | ||
install_requires=requirements, | ||
description="Data extraction and formatting for Scribe applications", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/scribe-org/Scribe-Data", | ||
) | ||
|
||
if __name__ == "__main__": | ||
setup(**setup_args) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.