Skip to content

Commit

Permalink
Fix setup.py to include the missing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Jun 19, 2018
1 parent 503f25c commit 6fe5ea7
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Usage.md
Expand Up @@ -40,7 +40,7 @@ Cortex4py 2 has the following structure:
```plain
├── cortex4py
│   ├── api
│   ├── controller
│   ├── controllers
│   │   ├── abstract
│   │   ├── analyzers
│   │   ├── jobs
Expand All @@ -59,7 +59,7 @@ Cortex4py 2 has the following structure:
```

- The **model** classes represent the data objects and extend the `cortex4py.models.Model` that provides `json()` methods returning a JSON `dict` from every model object.
- The **controller** classes wrap the available methods that call Cortex APIs.
- The **controllers** classes wrap the available methods that call Cortex APIs.
- The **api** class is the main class giving access to the different controllers.
- **query.*** are utility methods that allow building search queries.
- **exceptions.*** are supported exceptions
Expand Down
8 changes: 4 additions & 4 deletions cortex4py/api.py
Expand Up @@ -6,10 +6,10 @@
import warnings

from .exceptions import *
from .controller.organizations import OrganizationsController
from .controller.users import UsersController
from .controller.jobs import JobsController
from .controller.analyzers import AnalyzersController
from .controllers.organizations import OrganizationsController
from .controllers.users import UsersController
from .controllers.jobs import JobsController
from .controllers.analyzers import AnalyzersController


class Api(object):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -11,15 +11,15 @@

setup(
name='cortex4py',
version='2.0.0',
version='2.0.1',
description='Python API client for Cortex.',
long_description=read_md('README.md'),
author='TheHive-Project',
author_email='support@thehive-project.org',
maintainer='TheHive-Project',
url='https://github.com/Thehive-Project/Cortex4py',
license='AGPL-V3',
packages=['cortex4py'],
packages=['cortex4py', 'cortex4py.models', 'cortex4py.controllers'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
Expand All @@ -33,5 +33,5 @@
'Topic :: Software Development :: Libraries :: Python Modules'
],
include_package_data=True,
install_requires=['future', 'requests', 'python-magic']
install_requires=['typing', 'requests', 'python-magic']
)

0 comments on commit 6fe5ea7

Please sign in to comment.