Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pip poetry installation #92

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
44 changes: 20 additions & 24 deletions Bengali/Intro.ipynb

Large diffs are not rendered by default.

52 changes: 28 additions & 24 deletions Espanol/Intro_es.ipynb

Large diffs are not rendered by default.

34 changes: 19 additions & 15 deletions Intro.ipynb

Large diffs are not rendered by default.

29 changes: 16 additions & 13 deletions Nepali/Intro.ipynb

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from pkg_resources import get_distribution, DistributionNotFound

try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
pass # package is not installed
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["poetry>=1.1", "setuptools >= 60.6.0", "wheel"]
build-backend = "setuptools.build_meta"
48 changes: 48 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[metadata]
name = desihigh
version = 0.1
license = BSD-3-Clause
license_files = LICENSE
description = Easy install of the DESI High environment for off-Binder development.
long_description = file: README.md
long_description_content_type = text/markdown
readme = README.md
author = Michael J Wilson
author_email = mjwilson@lbl.gov
maintainer = Michael J Wilson
maintainer_email = mjwilson@lbl.gov
url = https://www.desi.lbl.gov/
download_url = https://github.com/michaelJwilson/desihigh
classifiers =
License :: OSI Approved :: BSD-3-Clause
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Operating System :: OS Independent

[options]
zip_safe = False
packages = find:
python_requires = >=3.6
install_requires =
pip
wget
numpy
matplotlib
pandas
astropy
scipy
jupyter
pyephem
notebook
nbformat
cryptography
tensorflow
scikit-learn

setup_requires =
pytest
pytest-cov
coveralls
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from setuptools import setup

setup()