22 Commits

Author SHA1 Message Date
Fabien Benureau
14df0ad1cb Add pubs conf command
Allows to edit the configuration file using pubs directly.
Will check if the modified configuration file is valid.
2015-12-05 21:20:03 +01:00
Fabien Benureau
93c54939b3 Rewritten config module
It depends on configobj, is cleaner and simpler than the previous implementation.
It adds comments in the config file, and type verification.

Related: #18
2015-12-04 20:49:05 +01:00
Fabien Benureau
b2dac68856 Add beautifulsoup4 dependency and update setup.py
A setup.cfg file was added for readme.md support on pypi.
Version number in setup.py is now the same as __version__ attribute.

Adresses: #31
2015-12-03 08:43:23 +01:00
Fabien Benureau
cce9406670 new print ui, more robust colors 2015-12-02 16:36:27 +01:00
Fabien Benureau
4c678b6a8f fixed occasional ZipImportError at install 2015-01-23 11:58:30 +01:00
Fabien Benureau
adb0158c3d experimental support for adding from DOIs 2015-01-08 14:58:41 +01:00
Fabien Benureau
2e5defeb52 improved setup for pypi submission 2014-10-28 13:22:11 +01:00
Olivier Mangin
136b8f83dc Fix fake_env, fix configparser issues, uniform 'open'.
- Update fake_env for compatibility with io.
- Uniform open (through _my_open in content).
- Fix read issue for config (although still using SafeConfigParser that
  is deprecated in py3).
2014-09-11 18:35:07 +02:00
Olivier Mangin
6e6aa8b3ef Adds missing dateutil dependency. 2014-04-19 22:36:05 +02:00
Olivier Mangin
f59a017d6f Adds missing pyyaml dependency. 2014-04-19 22:12:09 +02:00
Olivier Mangin
91b3fc75bb Several bug fixes.
- edit command fails correctly on unknown citekey,
- init command and filebroker use content module to check paths,
- fix wrong docfile in testrepo,
- list command does not fail on None added date (unknown add dates are
  older than everything else). Also adds relevant test.
2014-04-18 12:58:12 +02:00
Fabien Benureau
d3736e257b moving from pybtex to bibtextparser, fixed major regressions.
* only bibtex format is supported
* all tests except test_repo.py and edit test pass
* edit and update commands were not updated
* removed --format argument from export, only bibtex is supported.
2014-04-13 15:10:40 +02:00
Fabien Benureau
8d91545472 papers renamed 'pubs' 2013-11-14 04:40:29 +01:00
Fabien Benureau
6190890646 updated init cmd, configs + bumped to version 4 2013-11-10 00:38:06 +01:00
jgrizou
ebff1bb4e4 Updated texnote, not working yet
Add a check_directory in files.py
2013-07-04 12:10:23 +02:00
Fabien Benureau
9614593192 version system 2013-07-02 15:57:28 +01:00
jgrizou
ff195c0859 Plugins class created and handle for the parse. Next step is to code the event messages. Next one is to code the setup extension. 2013-06-25 19:45:00 +02:00
Jonathan Grizou
a880f5b677 bulshit 2013-06-24 22:39:37 +02:00
Fabien Benureau
7ff15be075 added john in the author list of setup.py 2013-06-13 16:41:38 +02:00
Jonathan Grizou
511b8e5680 Some comments in files, no modif in api 2013-06-08 21:56:42 +02:00
Olivier Mangin
9e02ab0db2 Switch to 'find_package' method in setup. 2013-06-07 20:12:24 +02:00
Fabien Benureau
acab1b8044 major restructuring of code. many oliver remarks implemented. no new features.
divided code into multiple files
paperpile style argparse
setup.py with script option
2012-10-07 19:27:20 +02:00