Add setup.py, setup.cfg and MANIFEST.in.
authorHartmut Goebel <h.goebel@crazy-compilers.com>
Tue, 17 Mar 2020 11:05:51 +0100
changeset 45 4ac3bb01f0bc
parent 44 4e5f42d51cc4
child 46 41d7a6c0e7f3
Add setup.py, setup.cfg and MANIFEST.in.
MANIFEST.in
Makefile
setup.cfg
setup.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MANIFEST.in	Tue Mar 17 11:05:51 2020 +0100
@@ -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
--- a/Makefile	Thu Oct 27 13:33:48 2016 +0200
+++ b/Makefile	Tue Mar 17 11:05:51 2020 +0100
@@ -18,3 +18,4 @@
 
 clean:
 	rm -f *.html *.pyc *.pyo */*.pyc */*.pyo
+	rm -rf *.egg-info
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setup.cfg	Tue Mar 17 11:05:51 2020 +0100
@@ -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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setup.py	Tue Mar 17 11:05:51 2020 +0100
@@ -0,0 +1,6 @@
+
+from setuptools import setup, find_packages
+
+setup(
+    setup_requires = ["setuptools >= 30.3.0"],  # release 2016-12-06
+)