Skip to content

Commit

Permalink
Fixed pip dev installation
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoSanchez committed Mar 25, 2023
1 parent 030277c commit ba0e6d6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 38 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/CI.yml

This file was deleted.

11 changes: 4 additions & 7 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
name: Testing

on:
workflow_call:

# on:
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
default-python: 3.10
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
import os
import sys

from ez_setup import use_setuptools
#from ez_setup import use_setuptools

import setuptools


use_setuptools()
#use_setuptools()


# =============================================================================
Expand Down Expand Up @@ -88,7 +88,7 @@ def do_setup():
author="Bruno Sanchez",
author_email="[email protected]",
url="https://github.com/toros-astro/ProperImage",
py_modules=["ez_setup"],
#py_modules=["ez_setup"],
license="BSD 3",
keywords="astronomy image",
classifiers=[
Expand All @@ -99,7 +99,6 @@ def do_setup():
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down
25 changes: 14 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@

# =============================================================================
# CONF
# =============================================================================

; [gh-actions]
; python =
; 3.7: py37
; 3.8: py38
; 3.9: py39
; 3.10: py310, style, docstyle, check-manifest, docs, coverage
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310, style, docstyle, check-manifest, docs, coverage

; [pytest]
; addopts = -n "auto"
[pytest]
addopts = -n "auto"


# =============================================================================
Expand Down Expand Up @@ -92,10 +91,14 @@ usedevelop = True
skip_install = False
changedir = docs
deps =
-r {toxinidir}/docs/requirements_docs.txt
Sphinx
nbsphinx
sphinx-autobuild
sphinx-rtd-theme
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees source {envtmpdir}/html

; -r {toxinidir}/docs/requirements_docs.txt

[testenv:docstyle]
deps =
Expand All @@ -110,4 +113,4 @@ skip_install = True
usedevelop = False
deps = check-manifest
commands =
check-manifest
check-manifest

0 comments on commit ba0e6d6

Please sign in to comment.