forked from matterport/Mask_RCNN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Text updates in setup.py and README.
- Loading branch information
Showing
2 changed files
with
18 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,26 +3,14 @@ | |
>> pip install -r requirements.txt | ||
>> python setup.py install | ||
For uploading to PyPi follow instructions | ||
http://peterdowns.com/posts/first-time-with-pypi.html | ||
Pre-release package | ||
>> python setup.py sdist upload -r pypitest | ||
>> pip install --index-url https://test.pypi.org/simple/ your-package | ||
Release package | ||
>> python setup.py sdist upload -r pypi | ||
>> pip install your-package | ||
""" | ||
import pip | ||
import logging | ||
import pkg_resources | ||
try: | ||
from setuptools import setup, Extension # , Command, find_packages | ||
from setuptools.command.build_ext import build_ext | ||
from setuptools import setup | ||
except ImportError: | ||
from distutils.core import setup, Extension # , Command, find_packages | ||
from distutils.command.build_ext import build_ext | ||
from distutils.core import setup | ||
|
||
|
||
def _parse_requirements(file_path): | ||
|
@@ -43,22 +31,18 @@ def _parse_requirements(file_path): | |
logging.warning('Fail load requirements file, so using default ones.') | ||
install_reqs = [] | ||
|
||
|
||
setup( | ||
name='mrcnn', | ||
name='mask-rcnn', | ||
version='2.1', | ||
url='https://github.com/matterport/Mask_RCNN', | ||
|
||
author='Matterport', | ||
author_email='', # todo | ||
author_email='[email protected]', | ||
license='MIT', | ||
description='Mask R-CNN: object detection & classification & segmentation', | ||
|
||
description='Mask R-CNN for object detection and instance segmentation', | ||
packages=["mrcnn"], | ||
cmdclass={'build_ext': build_ext}, | ||
install_requires=install_reqs, | ||
include_package_data=True, | ||
|
||
python_requires='>=3.4', | ||
long_description="""This is an implementation of Mask R-CNN on Python 3, Keras, and TensorFlow. | ||
The model generates bounding boxes and segmentation masks for each instance of an object in the image. | ||
It's based on Feature Pyramid Network (FPN) and a ResNet101 backbone.""", | ||
|
@@ -72,11 +56,13 @@ def _parse_requirements(file_path): | |
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Operating System :: OS Independent", | ||
"Topic :: Scientific/Engineering :: Image object detection", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"Topic :: Scientific/Engineering :: Image Recognition", | ||
"Topic :: Scientific/Engineering :: Visualization", | ||
"Topic :: Scientific/Engineering :: Image Segmentation", | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
], | ||
keywords="image instance segmentation object detection mask rcnn r-cnn tensorflow keras", | ||
) |