Commit graph

29 commits

Author SHA1 Message Date
mathieui
c732487f6d
Only remove src/default_config.cfg after build if we are in a develop copy
In order to not pollute src/; without this change a script doing on a
sdist-built archive:

    ./setup.py build
    ./setup.py install

would fail because src/default_config.cfg was removed after setup(), and
data/default_config.cfg does not exist
2015-02-26 23:43:43 +01:00
mathieui
ca21aa7bb0
Fix the doc path
“html” and “source” were inverted
2015-02-10 21:18:09 +01:00
mathieui
14b58c528e
Update setup files
- remove “make uninstall” target which was broken a long time ago
- move very install action to the setup.py (alias “make install” to
  “python setup.py install”
- add some stuff to “make clean”
- update the config.py to search the default config file using
  pkg_resources (more reliable than dirname(__file__))
- install the html doc only if available
- use README.rst for the setup.py long_description

- also, update the copyright notice to 2015
2015-02-10 21:08:36 +01:00
mathieui
556fd35cf5
Entirely ditch distutils for setuptools
(it wasn’t working anyways, except for building the poopt module)
2015-02-07 22:09:05 +01:00
mathieui
863a13943c
Fix a small error in setup.py 2015-01-21 14:47:27 +01:00
mathieui
992a460cf6
Ignore stderr when doing the git revision check
(and use the older --git-dir instead of -C)
2015-01-21 14:18:19 +01:00
mathieui
eb79322945
Update the setup.py to 0.9 and use PEP 440 for development builds
detect the number of git commit since the last tag and use that
2015-01-21 00:29:08 +01:00
mathieui
431e4a5073
Change the requirements 2014-11-12 21:18:42 +01:00
mathieui
c3aa6c029d
Fix the dependencies in the setup.py 2014-10-28 22:12:18 +01:00
mathieui
f55ac9edbf
Mention that setuptools is kind of mandatory 2014-10-27 19:16:32 +01:00
mathieui
0f1beb89e9
Use a setuptools entry point instead of a custom script 2014-10-27 18:49:10 +01:00
mathieui
72c7a3c355 Add the windows module to the setup.py 2014-05-05 23:30:56 +02:00
mathieui
5b8c236daa Add the core module to the setup.py 2014-04-05 17:53:51 +02:00
mathieui
ca0950db07 Remove unused imports
(thanks eijebong)
2014-04-04 00:24:16 +02:00
mathieui
d353584abd Install the tabs module with setup.py too 2014-04-01 21:41:05 +02:00
mathieui
a8ba700e98 Remove warnings in setup.py and use setuptools instead of distutils
(but since it is not important, use distutils when setuptools is
unavailable)
2014-03-22 13:33:21 +01:00
mathieui
bb00727e78 Update setup.py (from what was changed for the pypi release)
also remove old stuff from the default config
2014-03-21 00:54:46 +01:00
mathieui
a3050bad8a Remove C89 warnings on build
(no idea why this is appearing now)
2014-03-20 19:35:56 +01:00
mathieui
16c57cdae9 Remove useless parts of the setup process 2014-03-08 12:47:40 +01:00
mathieui
8ec5671025 Add a script that generates a [keys] section for the gpg plugin 2014-03-04 21:59:11 +01:00
mathieui
d165f13a81
Bump dev version 2014-02-22 14:28:08 +01:00
mathieui
1dc423505b
Bump version 2014-02-22 01:41:19 +01:00
mathieui
64c1a09023 Fix #2337 (search the themes the same way than plugins)
- Load the themes from:
    1 - The sources found in the directory ../data/themes/ (if it
    exists)
    2 - The user-defined dir (or ~/.local/blah)
    3 - The poezio_themes package if found

- Also fix some potential issues with the plugins importer
2013-08-10 00:24:27 +02:00
mathieui
32bf5a2b14 Add the gpg plugin to the setup.py 2013-08-07 21:24:46 +02:00
mathieui
4ee7708b14 Small workaround for the default config location 2013-05-29 15:32:25 +02:00
mathieui
2b42c6a3ea Update setup.py to use distutils
(use new default directory, install the plugins as a separate
python module…)
2013-05-26 20:13:39 +02:00
Florent Le Coz
7e8c45787d Indent. That’s actually useless, but I want to test something. 2011-10-16 19:34:17 +02:00
Florent Le Coz
4ccf3421ed Build C modules inplace 2011-09-11 20:10:37 +02:00
Florent Le Coz
d26845e2a3 and that file… 2011-09-09 18:46:42 +02:00