setup.py
author Claudio Luck <claudio.luck@pep.foundation>
Thu, 19 Mar 2020 17:17:22 +0100
changeset 66 701c5e980f33
parent 65 d659b8c2ed22
permissions -rw-r--r--
read version from setup.cfg
56
d48cf08cf448 wip: add setup.py, README.md and debian packaging
Claudio Luck <claudio.luck@pep.foundation>
parents:
diff changeset
     1
# -*- coding: utf-8 -*-
45
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     2
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     3
from setuptools import setup, find_packages
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     4
62
00a196f8d14a Merge 2.6.3
Claudio Luck <claudio.luck@pep.foundation>
parents: 60
diff changeset
     5
with open('README.rst', 'r', encoding='utf-8') as f:
00a196f8d14a Merge 2.6.3
Claudio Luck <claudio.luck@pep.foundation>
parents: 60
diff changeset
     6
    long_description = f.read()
56
d48cf08cf448 wip: add setup.py, README.md and debian packaging
Claudio Luck <claudio.luck@pep.foundation>
parents:
diff changeset
     7
45
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     8
setup(
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     9
    setup_requires = ["setuptools >= 30.3.0"],  # release 2016-12-06
62
00a196f8d14a Merge 2.6.3
Claudio Luck <claudio.luck@pep.foundation>
parents: 60
diff changeset
    10
    long_description=long_description,
60
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    11
    entry_points = {
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    12
        'console_scripts': [
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    13
            'yml2c=yml2.yml2c:main',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    14
            'yml2proc=yml2.yml2proc:main'
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    15
        ],
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    16
    },
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    17
    classifiers=[
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    18
      'Development Status :: 5 - Production/Stable',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    19
      'Intended Audience :: Developers',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    20
      'Environment :: Console',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    21
      'Topic :: Software Development :: Build Tools',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    22
      'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    23
      'Programming Language :: Python :: 3',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    24
      'Programming Language :: Python :: 3.4',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    25
      'Programming Language :: Python :: 3.5',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    26
      'Programming Language :: Python :: 3.6',
b19d0a86651b make PyPI package
Claudio Luck <claudio.luck@pep.foundation>
parents: 56
diff changeset
    27
    ],
45
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    28
)
56
d48cf08cf448 wip: add setup.py, README.md and debian packaging
Claudio Luck <claudio.luck@pep.foundation>
parents:
diff changeset
    29