Skip to content

Commit

Permalink
pip release setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanacelii committed Oct 26, 2023
1 parent 6be6378 commit de713b0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ scipy>=1.5.4
seaborn>=0.11.2
ipython
ipython_genutils
datasci_tools @ git+https://[email protected]/bacelii/datasci_tools.git
datasci-stdlib-tools>=1.0.0
21 changes: 18 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,30 @@ def get_links():
return [
#"git+https://github.com/bacelii/machine_learning_tools.git"
]


def get_long_description(filepath='README.md'):
try:
import pypandoc
long_description = pypandoc.convert_file(filepath, 'rst')
except:
print("\n\n\n****Need to install pypandoc (and if havent done so install apt-get install pandoc) to make long description clean****\n\n\n")

long_description = Path("README.md").read_text()

return long_description


setup(
name='neuron_morphology_tools', # the name of the package, which can be different than the folder when using pip instal
version='1.0.0',
description='',
author='Brendan Celii',
author_email='brendanacelii',
long_description=get_long_description(),
project_urls={
'Source':"https://github.com/reimerlab/neuron_morphology_tools",
'Documentation':"https://reimerlab.github.io/neuron_morphology_tools/",
},
author='Brendan Celii',
author_email='[email protected]',
packages=find_packages(), #teslls what packages to be included for the install
install_requires=get_install_requires(), #external packages as dependencies
dependency_links = get_links(),
Expand Down

0 comments on commit de713b0

Please sign in to comment.