Browse Source

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

Hartmut Goebel 2 years ago
parent
commit
ff0f9dad71
4 changed files with 44 additions and 0 deletions
  1. +17
    -0
      MANIFEST.in
  2. +1
    -0
      Makefile
  3. +20
    -0
      setup.cfg
  4. +6
    -0
      setup.py

+ 17
- 0
MANIFEST.in View File

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

+ 1
- 0
Makefile View File

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

+ 20
- 0
setup.cfg View File

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

+ 6
- 0
setup.py View File

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

Loading…
Cancel
Save