Skip to content

Commit

Permalink
update setup
Browse files Browse the repository at this point in the history
  • Loading branch information
suqingdong committed Jan 11, 2023
1 parent 2cff6f6 commit 5e02284
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import os
import sys

BASE_DIR = os.path.dirname(os.path.realpath(__file__))
PKG_DIR = os.path.dirname(os.path.dirname(BASE_DIR))
from pathlib import Path

BASE_DIR = Path(__file__).resolve().parent
PKG_DIR = BASE_DIR.parent.parent

print(PKG_DIR)

Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
long_description=BASE_DIR.joinpath('README.md').read_text(),
long_description_content_type='text/markdown',
url=version_info['url'],
project_urls={
'Documentation': 'https://impact_factor.readthedocs.io',
'Tracker': 'https://github.com/suqingdong/impact_factor/issues',
},
license='MIT License',
install_requires=BASE_DIR.joinpath('requirements.txt').read_text().strip().split(),
packages=find_packages(),
Expand Down

0 comments on commit 5e02284

Please sign in to comment.