[setup.py] change paths to scripts, add packages setup, remove fonts_public_pb2.py from scripts
@@ -61,27 +61,28 @@ setup(
' for testing font projects',
author='Font Bakery Authors',
author_email='dave@lab6.com',
- scripts=['fontbakery-build-font2ttf.py',
- 'fontbakery-build-fontmetadata.py',
- 'fontbakery-check-description.py',
- 'fontbakery-check-ttf.py',
- 'fontbakery-check-upstream.py',
- 'fontbakery-fix-ascii-fontmetadata.py',
- 'fontbakery-fix-familymetadata.py',
- 'fontbakery-fix-gasp.py',
- 'fontbakery-fix-glyph-private-encoding.py',
- 'fontbakery-fix-nameids.py',
- 'fontbakery-fix-nonhinting.py',
- 'fontbakery-fix-ttfautohint.py',
- 'fontbakery-list-panose.py',
- 'fontbakery-list-weightclass.py',
- 'fontbakery-list-widthclass.py',
- 'fontbakery-metadata-vs-api.py',
-# 'fontbakery-travis-deploy.py',
-# 'fontbakery-travis-init.py',
-# 'fontbakery-travis-secure.sh',
- 'fontbakery-update-families.py',
- 'fonts_public_pb2.py'],
+ package_dir={'': 'Lib'},
+ packages=['fontbakery'],
+ scripts=['bin/fontbakery-build-font2ttf.py',
+ 'bin/fontbakery-build-fontmetadata.py',
+ 'bin/fontbakery-check-description.py',
+ 'bin/fontbakery-check-ttf.py',
+ 'bin/fontbakery-check-upstream.py',
+ 'bin/fontbakery-fix-ascii-fontmetadata.py',
+ 'bin/fontbakery-fix-familymetadata.py',
+ 'bin/fontbakery-fix-gasp.py',
+ 'bin/fontbakery-fix-glyph-private-encoding.py',
+ 'bin/fontbakery-fix-nameids.py',
+ 'bin/fontbakery-fix-nonhinting.py',
+ 'bin/fontbakery-fix-ttfautohint.py',
+ 'bin/fontbakery-list-panose.py',
+ 'bin/fontbakery-list-weightclass.py',
+ 'bin/fontbakery-list-widthclass.py',
+ 'bin/fontbakery-metadata-vs-api.py',
+# 'bin/fontbakery-travis-deploy.py',
+# 'bin/fontbakery-travis-init.py',
+# 'bin/fontbakery-travis-secure.sh',
+ 'bin/fontbakery-update-families.py'],
zip_safe=False,
classifiers=[
'Environment :: Console',
