Skip to content

Commit

Permalink
Make changes for releasing package on PyPi.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsorby committed Feb 8, 2022
1 parent afc8dbb commit 94bddda
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
MAP Client
==========

This repository is a submodule for the MAP Client software. This submodule contains the source code for the MAP Client application.
MAP Client is an application for running workflows built from MAP Client plugins.
Documentation for installing and using MAP Client and MAP Client plugins can be found `here <https://map-client.readthedocs.io/>`__.

2 changes: 1 addition & 1 deletion src/mapclient/settings/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.16.0'
__version__ = '0.16.1'
2 changes: 1 addition & 1 deletion src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PySide2
https://github.com/PMR2/pmr2.wfctrl/archive/v0.3.0.zip
16 changes: 14 additions & 2 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,38 @@ def find_version(*file_paths):
raise RuntimeError("Unable to find version string.")


with open('README.rst') as f:
readme = f.read()


# Define the list of requirements
package_dependencies = [
'PySide2',
'rdflib',
'virtualenv',
'requests',
'PyInstaller',
'python-dateutil',
'dulwich',
'pmr2.wfctrl @ https://github.com/PMR2/pmr2.wfctrl/archive/v0.3.0.zip',
'pmr2.wfctrl',
'pmr2.client >= 0.2',
'packaging',
'filelock',
'psutil'
]

extras_require={
'dev': [
'PyInstaller',
]
}


setup(
name='mapclient',
version=find_version("mapclient", "settings", "version.py"),
description='A framework for managing and sharing workflows.',
long_description=readme,
long_description_content_type='text/x-rst',
author='MAP Client Developers',
author_email='[email protected]',
url='https://github.com/MusculoskeletalAtlasProject/mapclient',
Expand All @@ -59,4 +70,5 @@ def find_version(*file_paths):
include_package_data=True,
entry_points={'console_scripts': ['mapclient=mapclient.application:main']},
install_requires=package_dependencies,
extras_require=extras_require,
)

0 comments on commit 94bddda

Please sign in to comment.