Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lgulich committed Mar 17, 2020
1 parent c9f9189 commit c313e89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import os
import pathlib
import setuptools

HOME_PATH = pathlib.Path.home
CONFIG_PATH = pathlib.Path('lib/lg_linter/config')
HOME_PATH = os.path.expanduser('~')
CONFIG_PATH = 'lib/lg_linter/config'

with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
Expand All @@ -28,9 +27,11 @@
package_dir={'': 'lib'},
packages=setuptools.find_packages('lib'),
include_package_data=True,
data_files=[
HOME_PATH, [CONFIG_PATH / '.clang-format', CONFIG_PATH / 'pylint.rc', CONFIG_PATH / 'cpplint.py']
],
data_files=[('/' + HOME_PATH, [
os.path.join(CONFIG_PATH, '.clang-format'),
os.path.join(CONFIG_PATH, 'pylint.rc'),
os.path.join(CONFIG_PATH, 'cpplint.py')
])],
scripts=[
'lib/lg_linter/scripts/init-lg-linter',
'lib/lg_linter/scripts/deinit-lg-linter'
Expand Down

0 comments on commit c313e89

Please sign in to comment.