Skip to content

Commit

Permalink
Move setup config to setup.cfg
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Jan 11, 2020
1 parent 4989c44 commit 8baba15
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 39 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ Fixed
.. _requests: https://pypi.org/project/requests
.. _argparse: https://pypi.org/project/argparse/

.. _Unreleased: https://github.com/miurahr/aqtinstall/compare/v0.7a2...HEAD
.. _Unreleased: https://github.com/miurahr/aqtinstall/compare/v0.7b1...HEAD
.. _v0.7b1: https://github.com/miurahr/aqtinstall/compare/v0.7a2...v0.7b1
.. _v0.7a2: https://github.com/miurahr/aqtinstall/compare/v0.7a1...v0.7a2
.. _v0.7a1: https://github.com/miurahr/aqtinstall/compare/v0.6b1...v0.7a1
.. _v0.6b1: https://github.com/miurahr/aqtinstall/compare/v0.6a2...v0.6b1
Expand Down
46 changes: 46 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,49 @@ exclude = .git,__pycache__,docs/conf.py,build,dist,tmp,venv

[bdist_wheel]
universal=1

[metadata]
name = aqtinstall
description = Another unofficial Qt installer
long_description = file: README.rst, CHANGELOG.rst
long_description_content_type = text/x-rst
license = MIT
author = Hiroshi Miura
author_email = miurahr@linux.com
url = http://github.com/miurahr/aqtinstall
classifiers =
Development Status :: 4 - Beta
Environment :: Console
Environment :: X11 Applications :: Qt
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: C++
Topic :: Software Development
Topic :: Software Development :: Libraries

[options]
install_requires =
requests
wheel
py7zr>=0.5b5
packaging
setup_requires =
setuptools-scm[toml]>=3.3.3
setuptools>=42.0
packages = aqt
scripts = bin/aqt

[options.package_data]
aqt = *.yml, *.json, *.ini

[options.extras_require]
dev =
pytest
pytest-pep8
pytest-cov
flake8
39 changes: 1 addition & 38 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,42 +1,5 @@
#!/usr/bin/env python

import io
import os

from setuptools import setup


def readme():
with io.open(os.path.join(os.path.dirname(__file__), 'README.rst'), mode="r", encoding="UTF-8") as readmef:
return readmef.read()


setup(name='aqtinstall',
use_scm_version=True,
description='Another unofficial Qt installer',
url='http://github.com/miurahr/aqtinstall',
license='MIT',
long_description=readme(),
author='Hioshi Miura',
author_email='miurahr@linux.com',
packages=["aqt"],
package_data={'aqt': ['*.yml', "*.json", "*.ini"]},
install_requires=['requests', 'six', 'py7zr', 'packaging'],
setup_requires=['setuptools-scm>=3.3.3', 'setuptools>=42.0'],
extras_require={'dev': ['pytest', 'pytest-pep8', 'pytest-cov', 'flake8']},
scripts=["bin/aqt"],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: X11 Applications :: Qt',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: C++',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
],
)
setup(use_scm_version=True, setup_requires=['setuptools-scm>=3.3.3', 'setuptools>=42.0'])

0 comments on commit 8baba15

Please sign in to comment.