213 Commits

Author SHA1 Message Date
Cosimo Lupo
4f6147460d
remove versioneer (see discussion at #767) 2016-12-14 12:14:43 +00:00
Parag A Nemade
2326ed6f50
Remove py_modules sstruct and xmlWriter from setup.py for issue#696
Signed-off-by: Parag A Nemade <pnemade@fedoraproject.org>
2016-12-07 10:30:48 +05:30
Behdad Esfahbod
f5bf9b04de Add a 'fonttools' command-line tool that simply runs modules
ttx is now equivalent to:
$ fonttools ttx

pyftsubset can be called as:
$ fonttools subset

varLib can be called as:
$ fonttools.varLib

Also adds a executable at toplevel called fonttools, such that
with "./fonttools ..." one can run stuff without installing.
Python seems to automatically include ./Lib into its search path.
2016-10-30 15:19:29 +02:00
Cosimo Lupo
47cdb2a501 setup.py: use versioneer instead of setuptools_scm 2016-10-12 00:40:06 +01:00
Cosimo Lupo
6b152f57ae generate 'version.py' file with plain version string instead of using pkg_resources to read version from package metadata
See https://github.com/fonttools/fonttools/issues/697#issuecomment-252621005
2016-10-10 15:06:11 +01:00
Hartmut Goebel
f8982ac952 Remove extra_path distribution kwarg
This is of no use, it is undocumented and bound to be removed.

See https://bugs.python.org/issue901727 and https://bugs.python.org/issue27919.
2016-10-08 15:10:02 +02:00
Cosimo Lupo
969b68ec2b [setup.py] fix url so PyPI shows the new project homepage 2016-09-27 19:34:43 +01:00
Cosimo Lupo
c6de6c4a5f setup.py: use pytest-runner to bootstrap pytest and simply do python setup.py test; add wheel to setup requirements when doing pyhton setup.py bdist_wheel 2016-09-27 13:20:48 +01:00
Cosimo Lupo
f5454ba123 setup.py: use version from setuptools_scm
setuptools_scm handles managing python package versions using git metadata instead of declaring them as the version argument or in a git-managed file.

https://github.com/pypa/setuptools_scm
2016-09-26 23:56:31 +01:00
Cosimo Lupo
4e4b8d73c9 setup.py: version 3.1.0 2016-09-26 23:22:18 +01:00
Cosimo Lupo
c8135baed5 setup.py: install the ttx 'man' page only on Linux 2016-08-20 11:35:49 +01:00
Cosimo Lupo
dd5d442ea6 Revert "Remove old 'Doc/ttx.1'"
This reverts commit fe90e12601b9bea3983ddc1c0ec58303d14bbbe3.

Khaled commented:

> We either need to update the man page or find a way to generate it from other
existing documentation, not just drop it entirely with no replacement

fe90e12601 (commitcomment-18713586)
2016-08-20 11:30:18 +01:00
Cosimo Lupo
5f94d8b2df MANIFEST.in: include all the files that should be included in source dist
One notable absence was README.md... :)

For the testdata/*, I now use `include_package_data=True` in setup.py, to automatically install any data files found inside package directories that are also specified in MANIFEST.in file.

I also include the Snippets, which I think should belong to the source distribution, despite not being installed as console scripts like ttx, etc.

The MANIFEST.in does not need to include itself (done by default).
2016-08-19 14:21:33 +01:00
Cosimo Lupo
3796a8ba05 setup.py: add 'package_data' for test files
There's no point in installing the test modules if we don't also install the test data.

(BTW, all this stuff would not be necessary if we were to use 'setuptools_scm'
which would just include in the distribution all the files which are tracked by
git version control...)
2016-08-19 13:02:03 +01:00
Cosimo Lupo
fe90e12601 Remove old 'Doc/ttx.1' man page as outdated, not working on Mac/Windows
The file contains outdated information and nobody is maintaining it any longer.
Plus it only works on Linux, and only if pip installing as sudo (which is bad!).

We need proper Sphinx+ReadTheDocs kind of documentation.
2016-08-19 12:27:09 +01:00
Cosimo Lupo
e6a7e3c53c setup.py: use setuptools.find_packages instead of specifying list of sub-packages 2016-08-19 10:16:18 +01:00
Cosimo Lupo
94b7cac969 setup.py: drop support for distutils-only setup; require setuptools
It's 2016.
2016-08-19 10:14:01 +01:00
Cosimo Lupo
189fac4758 setup.py: pep8 whitespace; remove unused imports 2016-08-06 13:37:39 +01:00
Cosimo Lupo
8e3b30a078 Revert "setup.py: version 3.1"
This reverts commit cef46f09cf2ddac7e4cd34ed385a094877a8bc4e.

Let's change the package version string only when we are ready to tag the new release.
2016-08-06 13:30:15 +01:00
Cosimo Lupo
cef46f09cf setup.py: version 3.1 2016-08-06 11:59:00 +01:00
Behdad Esfahbod
5f953db5ee [varLib] Document module a bit 2016-04-15 13:56:37 -07:00
Ayantha Randika
aa90ff936d Added otlLib 2016-01-19 17:49:08 +05:30
amitdo
bf51c78d72 Remove obsolete code - 'xml.parsers.expat' is part of
Python's stdlib

The 'xml.parsers.expat' module has been a part of Python's Standard Library since version 2.0. Link: https://docs.python.org/2/library/pyexpat.html#module-xml.parsers.expat . FontTools requires Python 2.7, or Python 3.3 or later. Checking for the existence of this module is not necessary anymore.
2016-01-10 12:45:32 +02:00
Adrien Tétar
ed5b9d9b57 setup.py: add feaLib and mtiLib 2016-01-02 16:38:17 +01:00
Ben Kiel
d7623b08ca Add t1Lib to packages
Seems that setup.py wasn't installing this.
2015-12-07 16:01:09 -06:00
Khaled Hosny
b39077b64e Fix setup.py to install fontTools.subset
Broken since 29d7edf76f9ca888d120f2018e08e2b337ba7cf8.
2015-12-01 11:58:20 +04:00
Behdad Esfahbod
58f86f318a 3.0 2015-08-31 18:57:15 +01:00
Behdad Esfahbod
e02ea3f28d [setup] Remove obsolete version check 2015-08-31 18:55:34 +01:00
Cosimo Lupo
73a6fa8b11 [setup.py] monkeypatch py_compile to halt compilation on syntax errors
Fixes https://github.com/behdad/fonttools/issues/290
2015-06-14 00:22:43 +01:00
Cosimo Lupo
8f1e58c6a6 [setup.py] use py_modules instead of packages "" for standalone modules
That is to get rid of the warning that '' is not a valid package name
2015-05-20 12:40:19 +01:00
Cosimo Lupo
175a16209c [setup.py] use setuptools if available, or fall back to distutils
modify scripts to work as setuptools 'console_scripts', where the main
function takes no arguments;
add empty identifier "" in 'packages' argument of setup, to install the
standalone sstruct.py and xmlWriter.py for legacy support;
remove py2exe since it is made redundant by setuptools 'console_scripts';
remove custom 'build_ext' command since the eexecOpmodule.c is no longer
present.
2015-05-20 11:02:43 +01:00
Behdad Esfahbod
2a60b441b0 Bump version to 2.5, update maintainer and URL
https://github.com/behdad/fonttools/issues/140
2014-08-13 13:10:31 -04:00
Roozbeh Pournader
642eaf135d Properly merge head.flags and OS/2.fsType
Also install the merge script.
2013-12-22 15:33:25 -05:00
Behdad Esfahbod
494d9d139e Remove eexecOp C extension
It hasn't been working:

  6102ba7500

And it's only used to load Type1 fonts, so who cares if the Python
implementation is slow...
2013-12-07 17:36:12 -05:00
Behdad Esfahbod
9cab956e1c [setup] Remove "" from packages
We should never install any module in the root.
2013-11-29 16:21:02 -05:00
Behdad Esfahbod
986407e037 Fix setup.py warning
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'console'
2013-11-29 16:18:55 -05:00
Denis Jacquerye
db08ee2c19 missing from __future__ import print_function in setup.py
python3: sum() can't sum bytes, using b''.join(seq) instead
2013-11-29 14:15:48 -05:00
Behdad Esfahbod
57fbb3dcb3 Remove fontTools.ttLib.test from setup.py
Fixes up 9e4b640932b25a59745e30a6de1f943a2f50d5ba

Fixes https://github.com/behdad/fonttools/issues/41
2013-11-25 04:57:42 -05:00
Khaled Hosny
0e37f89e70 Letovers from pyftfontview → pyftinspect rename
Fixes “setup.py install”.
2013-09-12 11:13:39 +02:00
Behdad Esfahbod
ee5e163149 [setup.py] Add new tools 2013-08-29 18:53:38 -04:00
Behdad Esfahbod
4d1541a66b [setup.py] Remove numpy 2013-08-29 18:50:24 -04:00
pabs3
c88536d1f4 Add dependency information to the setup file.
Patch-by: Mikhail Kashkin <mkashkin@gmail.com>

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@621 4cde692c-a291-49d1-8350-778aa11640f8
2013-06-25 01:37:36 +00:00
pabs3
ec62dbe03e Release fonttools version 2.4
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@619 4cde692c-a291-49d1-8350-778aa11640f8
2013-06-22 14:25:03 +00:00
pabs3
86cee05817 Fix the instructions for building a Windows installer.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@582 4cde692c-a291-49d1-8350-778aa11640f8
2010-12-29 10:43:44 +00:00
pabs3
e7689a4856 Release fonttools version 2.3
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@579 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:58:24 +00:00
pabs3
406cb2f7ba Install the manual page to the correct location.
Shame on MacPorts and Gentoo for not forwarding this change.

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@576 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:54:25 +00:00
pabs3
ff85008e80 Get ready to release version 2.2
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@559 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-18 06:28:37 +00:00
pabs3
3697259346 Add cleaned-up and updated manual page from the Debian package.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@552 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-16 08:45:43 +00:00
jvr
1b7d54fedc converted usage of Numeric to numpy
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@537 4cde692c-a291-49d1-8350-778aa11640f8
2008-03-04 15:25:27 +00:00
jvr
a5ed95261c post 2.1 version numbering
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@531 4cde692c-a291-49d1-8350-778aa11640f8
2008-03-01 17:20:26 +00:00