Moved setup metadata to setup.cfg

This commit is contained in:
B.J. Dweck 2020-10-16 15:11:33 +02:00
parent 9716f0199f
commit b0ae19db23
2 changed files with 8 additions and 42 deletions

View File

@ -1,34 +1,19 @@
# import setuptools
# import torchsub
#
# setuptools.setup(
# name="torchsub",
# version=torchsub.__version__,
# author='Benjamin Dweck',
# author_email='bjdweck@gmail.com',
# url='http://git.rudefox.io/bj/torch-subscriber-simple',
# packages=setuptools.find_packages(),
# entry_points={
# 'console_scripts': ['torch-sub=torchsub.torch_sub:main'],
# },
# classifiers=[
# "Programming Language :: Python :: 3",
# "License :: OSI Approved :: MIT License",
# ],
# )
[metadata]
name = torchsub
version = 0.0.1
author = Benjamin Dweck
author_email = bjdweck@gmail.com
url = http://git.rudefox.io/bj/torch-subscriber-simple
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
[options]
packages = find:
install_requires =
paho-mqtt~=1.5.1
install_requires = paho-mqtt~=1.5.1
[options.entry_points]
console_scripts =
torch-sub=torchsub.torch_sub:main
console_scripts = torch-sub=torchsub.torch_sub:main
[options.packages.find]
exclude=test

View File

@ -1,22 +1,3 @@
# import setuptools
# import torchsub
#
# setuptools.setup(
# name="torchsub",
# version=torchsub.__version__,
# author='Benjamin Dweck',
# author_email='bjdweck@gmail.com',
# url='http://git.rudefox.io/bj/torch-subscriber-simple',
# packages=setuptools.find_packages(),
# entry_points={
# 'console_scripts': ['torch-sub=torchsub.torch_sub:main'],
# },
# classifiers=[
# "Programming Language :: Python :: 3",
# "License :: OSI Approved :: MIT License",
# ],
# )
import setuptools
setuptools.setup()