Skip to content

Commit

Permalink
pypi test
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoppich committed Oct 13, 2020
1 parent a304eb0 commit 5b12cb6
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 52 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ examples/slided_test

build
dist
pIMZ.egg-info
pIMZ.egg-info

docs/_build
__pycache__
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ language: python
python:
- "3.8"
script:
- python setup.py develop test
- python3 setup.py develop test
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include README.rst CHANGELOG.txt LICENSE.txt
include README.md CHANGELOG.txt LICENSE.txt
recursive-include pIMZ/tablefilter *
26 changes: 10 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
---
title: 'pIMZ: an integrative framework for imaging mass spectrometry analysis'
---
# pIMZ: an integrative framework for imaging mass spectrometry analysis

![image](https://readthedocs.org/projects/pimz/badge/?version=latest)

target

: <https://pimz.readthedocs.io/en/latest/?badge=latest>

alt

: Documentation Status

[![image](https://travis-ci.org/mjoppich/pIMZ.svg?branch=master)](https://travis-ci.org/mjoppich/pIMZ)
[![Documentation Status](https://readthedocs.org/projects/pimz/badge/?version=latest)](https://pimz.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.org/mjoppich/pIMZ.svg?branch=master)](https://travis-ci.org/mjoppich/pIMZ)
![PyPI](https://img.shields.io/pypi/v/pIMZ)
![GitHub All Releases](https://img.shields.io/github/downloads/mjoppich/pIMZ/total)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pIMZ)
![PyPI - License](https://img.shields.io/pypi/l/pIMZ)

No idea what this framework does \...

Expand All @@ -32,11 +25,12 @@ format it properly.
Installation
============

The easiest way to install most Python packages is via `easy_install` or
`pip`:
The easiest way to install is via `pip`:

$ sudo pip install pIMZ
$ sudo pip3 install pIMZ

or on a user-level:

$ pip install pIMZ --user
$ pip3 install pIMZ --user
30 changes: 0 additions & 30 deletions README.rst

This file was deleted.

9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,22 @@ def run_tests(self):

)

version = "1.0"
version = "1.0a"
import pathlib


setup(name="pIMZ",
version=version,
description="pIMZ: an integrative framework for imaging mass spectrometry analysis",
long_description=open("README.rst").read(),
long_description=open("README.md").read(),
long_description_content_type='text/markdown',
classifiers=[ # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Medical Science Apps.'
],
Expand Down
6 changes: 6 additions & 0 deletions upload.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#python3 setup.py register sdist upload

rm -rf dist
python setup.py sdist
twine upload -r testpypi dist/*
#twine upload dist/*

0 comments on commit 5b12cb6

Please sign in to comment.