Skip to content

Commit

Permalink
Update Database name.
Browse files Browse the repository at this point in the history
Why I changed the name of package?
  • Loading branch information
devmessias committed Aug 23, 2017
1 parent 7f0d76d commit 6db2fa2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
@@ -1,4 +1,6 @@

#data, scrapped from web of science


include bibcure/data/db_abbrev.json

Expand Down
7 changes: 4 additions & 3 deletions bibcure/database.py
Expand Up @@ -8,14 +8,15 @@
# import pdb

home_path = os.path.expanduser("~")
config_file = home_path+"/.journalabbrev/db.json"
config_file = home_path+"/.bibcure/db.json"
config_file_exists = os.path.exists(config_file)

if config_file_exists:
db_path = config_file
else:
db_path = pkg_resources.resource_filename("journalabbrev",
"data/db_abbrev.json")
db_path = pkg_resources.resource_filename("bibcure",

"data/db_abbrev.json")


class Db_abbrev(object):
Expand Down
10 changes: 5 additions & 5 deletions setup.py
Expand Up @@ -6,25 +6,25 @@

setup(
name="bibcure",
version="0.2.5",
version="0.2.6",
packages = find_packages(exclude=["build",]),
scripts=["bibcure/bin/bibcure"],
long_description = README_TEXT,
install_requires = ["bibtexparser", "future",
"doi2bib", "title2bib", "arxivcheck"],
include_package_data=True,
package_data={
"data":["data/db_abbrev.json", "data/teste"]
"data":["data/db_abbrev.json"]
},
license="GPLv3",
license="AGPLv3",
description=" Helps you to have a better bibtex file",
author="Bruno Messias",
author_email="messias.physics@gmail.com",
download_url="https://github.com/bibcure/bibcure/archive/0.2.5.tar.gz",
download_url="https://github.com/bibcure/bibcure/archive/0.2.6.tar.gz",
keywords=["bibtex", "arxiv", "doi", "abbreviate", "science","scientific-journals"],

classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Topic :: Text Processing :: Markup :: LaTeX",
Expand Down

0 comments on commit 6db2fa2

Please sign in to comment.