Add setup.py, setup.cfg and MANIFEST.in.

Hartmut Goebel 3 years ago
parent 1d0fd6c31f
commit ff0f9dad71
  1. 17
      MANIFEST.in
  2. 1
      Makefile
  3. 20
      setup.cfg
  4. 6
      setup.py

@ -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

@ -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

@ -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

@ -0,0 +1,6 @@
from setuptools import setup, find_packages
setup(
setup_requires = ["setuptools >= 30.3.0"], # release 2016-12-06
)
Loading…
Cancel
Save