This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
-
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 #21 from C-Accel-CRIPT/develop
Release v0.4.6
- Loading branch information
Showing
14 changed files
with
372 additions
and
137 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
File renamed without changes.
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
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,4 @@ | ||
-r requirements_dev.txt | ||
pytest==7.1.2 | ||
pytest-docker==1.0.0 | ||
psycopg2==2.9.3 |
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,32 @@ | ||
[metadata] | ||
name = cript | ||
version = 0.4.6 | ||
description = CRIPT Python SDK | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
author = CRIPT Development Team | ||
url = https://github.com/C-Accel-CRIPT/cript | ||
license = MIT | ||
license_files = LICENSE.txt | ||
platforms = any | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Topic :: Scientific/Engineering | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.9 | ||
|
||
[options] | ||
package_dir= | ||
=src | ||
packages = find: | ||
python_requires = >=3.9 | ||
include_package_data = True | ||
install_requires = | ||
beartype>=0.10.4 | ||
globus-sdk>=3.7.0 | ||
pint>=0.19.2 | ||
requests>=2.27.1 | ||
|
||
[options.packages.find] | ||
where=src |
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,36 +1,5 @@ | ||
import pathlib | ||
from setuptools import setup | ||
from setuptools import find_packages | ||
|
||
|
||
here = pathlib.Path(__file__).parent.resolve() | ||
# single-source of version in the package | ||
version = (here / "src" / "cript" / "VERSION.txt").read_text(encoding="utf-8") | ||
# TODO: fill out README with installation guide, smallest working example, etc. | ||
long_description = (here / "README.md").read_text(encoding="utf-8") | ||
|
||
|
||
setup( | ||
name="cript", | ||
version=version, | ||
description="CRIPT Python SDK", | ||
url="https://github.com/C-Accel-CRIPT/cript", | ||
author="CRIPT Development Team", | ||
packages=find_packages(where="src"), | ||
package_dir={"": "src"}, | ||
include_package_data=True, | ||
python_requires=">=3.9", | ||
install_requires=[ | ||
"beartype >= 0.10.4", | ||
"globus-sdk >= 3.7.0", | ||
"pint >= 0.19.2", | ||
"requests >= 2.27.1", | ||
], | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Topic :: Scientific/Engineering", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3 :: Only", | ||
], | ||
) | ||
if __name__ == "__main__": | ||
setup() |
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
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,41 @@ | ||
version: "3.9" | ||
|
||
services: | ||
db: | ||
image: postgres | ||
volumes: | ||
- postgres:/var/lib/postgresql/data | ||
environment: | ||
- POSTGRES_DB=postgres | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASSWORD=postgres | ||
ports: | ||
- "5433:5432" | ||
web: | ||
image: brilant/criptapp:latest | ||
command: sh -c "python manage.py migrate && python manage.py loaddata ./seed/test_data.yaml && python manage.py runserver 0.0.0.0:8000" | ||
ports: | ||
- "8000:8000" | ||
environment: | ||
- DB_TYPE=postgresql | ||
- DB_NAME=postgres | ||
- DB_USER=postgres | ||
- DB_PASSWORD=postgres | ||
- DB_HOST=db | ||
- DB_PORT=5432 | ||
- ENV=${ENV} | ||
- DEBUG=${DEBUG} | ||
- ALLOWED_HOSTS=* | ||
- SECRET_KEY=${SECRET_KEY} | ||
- GLOBUS_AUTH_CLIENT_ID=${GLOBUS_AUTH_CLIENT_ID} | ||
- GLOBUS_AUTH_SECRET=${GLOBUS_AUTH_SECRET} | ||
- GLOBUS_ACCESS_MANAGER_CLIENT_ID=${GLOBUS_ACCESS_MANAGER_CLIENT_ID} | ||
- GLOBUS_ACCESS_MANAGER_SECRET=${GLOBUS_ACCESS_MANAGER_SECRET} | ||
- GLOBUS_NATIVE_CLIENT_ID=${GLOBUS_NATIVE_CLIENT_ID} | ||
- GLOBUS_ENDPOINT_ID=${GLOBUS_ENDPOINT_ID} | ||
- STORAGE_PROVIDER=${STORAGE_PROVIDER} | ||
- STORAGE_PATH=${STORAGE_PATH} | ||
depends_on: | ||
- db | ||
volumes: | ||
postgres: |
Oops, something went wrong.