Commit 8399f985 authored by Michele Maris's avatar Michele Maris
Browse files

u

parent 16349c8e
Loading
Loading
Loading
Loading

Makefile

0 → 100644
+24 −0
Original line number Diff line number Diff line
#
# make clean : to clean the dist and docs directories
# make pdocs : create the docs using pdoc
# make package : to create the package
# make testUpload : to create a test upload (*)
#
# beware: before to use this update the version number in pyproject.toml
#

default: 
	@echo "type a command"
	@grep '^[^#[:space:]].*:' Makefile

clean:
	cd dist ; pwd ; rm -vf * ; cd ../docs ; pwd ; rm -rfv *

pdocs:
	cd src ; pwd ; pdoc py_artecs/__init__.py -o ../Pdocs/

package: 
	python3 -m build

testUpload :
	python3 -m twine upload --repository testpypi dist/*

README_DEV.md

0 → 100644
+26 −0
Original line number Diff line number Diff line
# README_DEV.md 
Contents for the development version of py_artecs

## src 
The original source files, those are the files which are installed using 

>>> pip3 install py_artecs

## docs
pdocs documentation, this is the documentation at which the PyPI repository points to

## dist
the latest distribution

## tests
test files

## Files:

   . README.md          : the project description
   . Makefile           : the Makefile with commands to create docs e dist 
   . LICENCE            : a licence file
   . make_local_link.sh : creates a soft link of src/py_artecs inside ~/.local/lib/python3.X to allow to use the dev version of the library
   . pyproject.toml     : description for the package generator
   . CONTRIBUTING.md    : instructions for contributors
   
+10 −0
Original line number Diff line number Diff line
#!/bin/bash
#
# creates link to .local/lib/pythonXX/site-packages
#
if [ "$#" -lt 1 ]; then
    echo "$0 <python-version>"
    exit 0
fi

ln -v -s $PWD/src/py_artecs ~/.local/lib/python$1/site-packages/py_artecs

issues

0 → 100644
+0 −0

Empty file added.

pyproject.toml

0 → 100644
+34 −0
Original line number Diff line number Diff line

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "py_artecs"
version = "0.0.0.0.0.3"
authors = [
  { name="Michele Maris", email="michele.maris@inaf.it"}, 
  { name="Marco Molinaro", email="marco.molinaro@inaf.it"},
]
description = """Python3 library to handle contents of ARTECS: Archive of terrestrial-type climate simulations 

    http://wwwuser.oats.inaf.it/exobio/climates/

through TAP and PYVO services.

Needs: numpy, scipy, pandas, pyvo

"""
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
    "Programming Language :: Python :: 3",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
]

[project.urls]
#"Homepage" = ""
"Documentation" = "https://www.ict.inaf.it/gitlab/michele.maris/py_artecs/docs"
"repository" = "https://www.ict.inaf.it/gitlab/michele.maris/py_artecs"
"Bug Tracker" = "https://www.ict.inaf.it/gitlab/michele.maris/py_artecs/issues"
Loading