Commit 6757b3f5 authored by Chris Kerr's avatar Chris Kerr

Merge branch '55-update-package-metadata-for-pypi' into 'master'

Resolve "Update package metadata for PyPI"

Closes #55

See merge request !31
parents 87e409c3 3def0fa2
Pipeline #15415 passed with stages
in 1 minute and 59 seconds
......@@ -12,6 +12,7 @@ __pycache__
*.pyc
*.so
build/*
dist/*
*module.c
MANIFEST
......
......@@ -56,4 +56,4 @@ test_lint:
before_script:
- pip install tox
script:
- tox -e flake8,reuse
- tox -e flake8,reuse,twine
......@@ -5,14 +5,27 @@
#
# SPDX-License-Identifier: LGPL-3.0-or-later
import os.path
from setuptools import setup
def read(filename):
repo_dir = os.path.dirname(__file__)
full_path = os.path.join(repo_dir, filename)
with open(full_path, 'r') as f:
return f.read()
setup(
name='galumph',
version='0.2.0',
version='0.3.0',
description='Calculate ALM using GPU acceleration',
long_description=read('README.md'),
long_description_content_type='text/markdown',
url='https://git.embl.de/grp-svergun/galumph',
author='Christopher Kerr',
author_email='chris.kerr@mykolab.ch',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
......@@ -20,11 +33,13 @@ setup(
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
python_requires='>=3.5',
requires=["pyopencl"],
packages=[
'galumph',
......
......@@ -7,7 +7,7 @@
# List Python 3.7 by default as that is the version installed on Debian 10
# Developers on other systems should set the TOXENV environment
# variable to the Python versions on their system
envlist = py37,flake8,reuse
envlist = py37,flake8,reuse,twine
[testenv]
# Use the system packages for pyopencl, numpy, scipy etc
......@@ -45,6 +45,15 @@ deps =
commands =
reuse lint
[testenv:twine]
basepython = python3
# Actually we only need the source package to be built and added to {distdir}
skip_install = false
deps =
twine
commands =
twine check {distdir}/*
# Additional configuration for non-tox tools
[flake8]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment