setup.py
changeset 62 00a196f8d14a
parent 60 b19d0a86651b
child 65 d659b8c2ed22
equal deleted inserted replaced
61:482106d33bf6 62:00a196f8d14a
     1 # -*- coding: utf-8 -*-
     1 # -*- coding: utf-8 -*-
     2 
     2 
     3 import sys, os
     3 from setuptools import setup, find_packages
     4 from setuptools import setup
       
     5 
     4 
     6 DESC = "YML 2 compiler"
     5 with open('README.rst', 'r', encoding='utf-8') as f:
     7 SDISTVER = '2.6.2.3'
     6     long_description = f.read()
     8 
       
     9 with open('README.rst', 'r', encoding='utf-8') as fh:
       
    10     long_desc = fh.read().strip()
       
    11     long_description_content_type = 'text/markdown'
       
    12 
     7 
    13 setup(
     8 setup(
    14     name='YML2',
     9     setup_requires = ["setuptools >= 30.3.0"],  # release 2016-12-06
    15     version=SDISTVER,
    10     long_description=long_description,
    16     description=DESC,
       
    17     long_description=long_desc,
       
    18     long_description_content_type=long_description_content_type,
       
    19     author="Volker Birk",
       
    20     author_email="vb@pep.foundation",
       
    21     license="GPL-2.0",
       
    22     url="https://pep.foundation/dev/repos/yml2",
       
    23     download_url="https://software.pep.foundation/r/pypi/yml2/YML2-%s.tar.gz" % SDISTVER,
       
    24     zip_safe=False,
       
    25     packages=["yml2"],
       
    26     install_requires=['lxml'],
       
    27     package_data = {
       
    28         '': ['COPYING.txt', '*.css', '*.yhtml2'],
       
    29         'yml2': ['*.yml2', '*.ysl2'],
       
    30     },
       
    31     entry_points = {
    11     entry_points = {
    32         'console_scripts': [
    12         'console_scripts': [
    33             'yml2c=yml2.yml2c:main',
    13             'yml2c=yml2.yml2c:main',
    34             'yml2proc=yml2.yml2proc:main'
    14             'yml2proc=yml2.yml2proc:main'
    35         ],
    15         ],