forked from ASSNAKE/assnake-core-preprocessing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (37 loc) · 1.37 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from setuptools import setup, find_packages
from setuptools.command.develop import develop
from setuptools.command.install import install
from assnake_core_preprocessing.snake_module_setup import snake_module
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
snake_module.deploy_module()
develop.run(self)
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
snake_module.deploy_module()
install.run(self)
setup(
name='assnake-core-preprocessing',
version='0.8.0',
include_package_data=True,
license='MIT',
description = 'Reads preprocessing module for assnake',
author = 'Dmitry Fedorov',
author_email = '[email protected]',
url = 'https://github.com/ASSNAKE/assnake-core-preprocessing',
# download_url = 'https://github.com/ASSNAKE/assnake/archive/v0.8.8.tar.gz', # I explain this later on
keywords = ['ILLUMINA', 'NGS', 'METAGENOMIC', 'DATA'],
packages=find_packages(),
entry_points = {
'assnake.plugins': ['assnake-core-preprocessing = assnake_core_preprocessing.snake_module_setup:snake_module']
},
install_requires=[
'assnake'
],
cmdclass={
'develop': PostDevelopCommand,
'install': PostInstallCommand,
}
)