diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..552cc94 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,17 @@ +# Files to include in the source package - for the case +# the project directory is are not in a VCS. +include yml2c +include yml2proc +include yml2/*.ysl2 +include yml2/*.yml2 + +include Makefile +include *.yhtml2 +include format.css +include gpl-2.0.txt + +include samples/* +include vim/syntax/* + +exclude .hgtags +exclude .hgignore diff --git a/Makefile b/Makefile index 20fce2c..2574537 100644 --- a/Makefile +++ b/Makefile @@ -18,3 +18,4 @@ update-all: update yml2c yml2.py pyPEG.py backend.py yml2proc clean: rm -f *.html *.pyc *.pyo */*.pyc */*.pyo + rm -rf *.egg-info diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..9314b4f --- /dev/null +++ b/setup.cfg @@ -0,0 +1,20 @@ +[sdist] +formats=gztar + +[metadata] +name = yml2 +version = 2.6.2 +author = Volker Birk +author_email = vb@pep-project.org +url = https://pep.foundation/dev/repos/yml2/ +license = GPL v2 +license_file = gpl-2.0.txt + +[options] +packages = yml2 +scripts = + yml2c + yml2proc +include_package_data = True +zip_safe = False +install_requires = lxml diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7653c4a --- /dev/null +++ b/setup.py @@ -0,0 +1,6 @@ + +from setuptools import setup, find_packages + +setup( + setup_requires = ["setuptools >= 30.3.0"], # release 2016-12-06 +)