8000 Moved the metadata into setup.cfg by KOLANICH · Pull Request #255 · pymeasure/pymeasure · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Moved the metadata into setup.cfg #255

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
52 changes: 51 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,52 @@
[metadata]
name = PyMeasure
author = PyMeasure Developers
license = MIT
description = Scientific measurement library for instruments, experiments, and live-plotting
keywords =
measure
instrument
experiment
control
automate
graph
plot
url = https://github.com/ralph-group/pymeasure
download_url = https://github.com/ralph-group/pymeasure/tarball/v0.7.0
long_description = file: README.rst, CHANGES.txt
long_description_content_type = text/x-rst

classifiers =
Development Status :: 4 - Beta
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Scientific/Engineering

[options]
packages = find:
setup_requires = setuptools>=42; wheel; setuptools_scm[toml]>=3.4.3
install_requires =
numpy >= 1.6.1
pandas >= 0.14
pyvisa >= 1.8
pyserial >= 2.7
pyqtgraph >= 0.9.10

tests_require = pytest >= 2.9.1; pytest-qt >= 2.4.0; pytest-runner

[options.extras_require]
matplotlib = matplotlib >= 2.0.2
tcp = zmq >= 16.0.2; cloudpickle >= 0.3.1
python-vxi11 = python-vxi11 >= 0.9

[aliases]
test=pytest
test=pytest
52 changes: 2 additions & 50 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,53 +25,5 @@

from setuptools import setup, find_packages

setup(
name='PyMeasure',
version='0.7.0',
author='PyMeasure Developers',
packages=find_packages(),
scripts=[],
url='https://github.com/ralph-group/pymeasure',
download_url='https://github.com/ralph-group/pymeasure/tarball/v0.7.0',
license='MIT License',
description='Scientific measurement library for instruments, experiments, and live-plotting',
long_description=open('README.rst').read() + "\n\n" + open('CHANGES.txt').read(),
install_requires=[
"numpy >= 1.6.1",
"pandas >= 0.14",
"pyvisa >= 1.8",
"pyserial >= 2.7",
"pyqtgraph >= 0.9.10"
],
extras_require={
'matplotlib': ['matplotlib >= 2.0.2'],
'tcp': [
'zmq >= 16.0.2',
'cloudpickle >= 0.3.1'
],
'python-vxi11': ['python-vxi11 >= 0.9']
},
setup_requires=[
'pytest-runner'
],
tests_require=[
'pytest >= 2.9.1',
'pytest-qt >= 2.4.0'
],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
],
keywords="measure instrument experiment control automate graph plot"
)
if __name__ == "__main__":
setup()
0