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

Commit

Permalink
Merge pull request #196 from hdiogenes/master
Browse files Browse the repository at this point in the history
Fix Kytos skel location - fix #195
  • Loading branch information
beraldoleal authored Dec 11, 2018
2 parents ba4793d + 2370780 commit c2a4416
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
else:
BASE_ENV = '/'

SKEL_PATH = 'etc/skel'
KYTOS_SKEL_PATH = os.path.join(SKEL_PATH, 'kytos')
KYTOS_SKEL_PATH = os.path.join('etc/kytos/skel')
USERNAME_PATH = os.path.join(KYTOS_SKEL_PATH, 'napp-structure/username')
NAPP_PATH = os.path.join(USERNAME_PATH, 'napp')
ETC_FILES = [(os.path.join(BASE_ENV, USERNAME_PATH),
Expand Down Expand Up @@ -55,7 +54,7 @@ def run(self):
pass

def initialize_options(self):
"""Set defa ult values for options."""
"""Set default values for options."""
pass

def finalize_options(self):
Expand Down Expand Up @@ -126,7 +125,7 @@ def _create_data_files_directory(symlink=False):
if not os.path.exists(etc_dir):
os.mkdir(etc_dir)

dst_dir = os.path.join(BASE_ENV, SKEL_PATH)
dst_dir = os.path.join(BASE_ENV, KYTOS_SKEL_PATH)
if not os.path.exists(dst_dir):
os.mkdir(dst_dir)

Expand Down

0 comments on commit c2a4416

Please sign in to comment.