Skip to content

Commit

Permalink
Create paackage folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Beghini committed Jun 4, 2020
1 parent 8cc59ac commit 1cbc68f
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion panphlan_map.py → panphlan/panphlan_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from argparse import ArgumentParser
from collections import defaultdict
from shutil import copyfileobj
from utils import end_program, show_interruption_message, show_error_message, time_message, find
from .utils import end_program, show_interruption_message, show_error_message, time_message, find
import bz2, fnmatch, multiprocessing, operator, os, subprocess, sys, tempfile, time
from distutils.version import LooseVersion

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion panphlan_profile.py → panphlan/panphlan_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from argparse import ArgumentParser
from collections import defaultdict
from random import randint
from utils import end_program, show_interruption_message, show_error_message, time_message, find
from .utils import end_program, show_interruption_message, show_error_message, time_message, find
import fnmatch, operator, os, subprocess, sys, time
import bz2

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 8 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
author='Matthias Scholz',
author_email='matthias.scholz.de@gmail.com',
url='http://github.com/SegataLab/panphlan/',
py_modules=['panphlan_map', 'panphlan_profile', 'panphlan_new_pangenome_generation', 'panphlan_pangenome_generation', 'utils'],
entry_points = { "console_scripts" : [ "panphlan_map = panphlan_map:main",
"panphlan_profile = panphlan_profile:main",
"panphlan_new_pangenome_generation = panphlan_new_pangenome_generation:main",
"panphlan_pangenome_generation = panphlan_pangenome_generation:main"
packages=setuptools.find_namespace_packages(),
package_data = { 'panphlan' : [
'panphlan/tools/*'
]},
entry_points = { "console_scripts" : [ "panphlan_map.py = panphlan.panphlan_map:main",
"panphlan_profile.py = panphlan.panphlan_profile:main",
"panphlan_new_pangenome_generation.py = panphlan.panphlan_new_pangenome_generation:main",
"panphlan_pangenome_generation.py = panphlan.panphlan_pangenome_generation:main"
] },
long_description_content_type='text/markdown',
long_description=open('README.md').read(),
Expand Down

0 comments on commit 1cbc68f

Please sign in to comment.