From 7e0987bcda136a17baea45b8eb22eb5ea668abc0 Mon Sep 17 00:00:00 2001 From: Matthias Baumgartner Date: Mon, 30 Jan 2023 14:35:32 +0100 Subject: filter ast comparison --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index ab3864a..243c73f 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,10 @@ setup( url='https://www.igsor.net/projects/blackstar/bsfs/', download_url='https://pip.igsor.net', packages=('bsfs', ), - install_requires=('rdflib', ), + install_requires=( + 'rdflib', # schema and sparql storage + 'hopcroftkarp', # ast matching + ), python_requires=">=3.7", ) -- cgit v1.2.3 From 47e147bbbb3182065d76847ad7cb71c895003abf Mon Sep 17 00:00:00 2001 From: Matthias Baumgartner Date: Wed, 1 Mar 2023 12:51:09 +0100 Subject: build instructions --- setup.py | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 243c73f..747e853 100644 --- a/setup.py +++ b/setup.py @@ -1,26 +1,37 @@ -from setuptools import setup +from setuptools import setup, find_packages import os setup( + # package metadata name='bsfs', - version='0.0.1', + version='0.23.03', author='Matthias Baumgartner', - author_email='dev@igsor.net', - description='A content aware graph file system.', + author_email='dev@bsfs.io', + description='A content-aware graph file system.', long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(), license='BSD', license_files=('LICENSE', ), - url='https://www.igsor.net/projects/blackstar/bsfs/', - download_url='https://pip.igsor.net', - packages=('bsfs', ), + url='https://www.bsfs.io/bsfs/', + download_url='https://pip.bsfs.io', + + # packages + packages=[p for p in find_packages() if p.startswith('bsfs')], + # data files are included if mentioned in MANIFEST.in + include_package_data=True, + + # entrypoints + entry_points={ + 'console_scripts': [ + 'bsfs = bsfs.apps:main', + ], + }, + + # dependencies install_requires=( 'rdflib', # schema and sparql storage 'hopcroftkarp', # ast matching + 'numpy', # distance functions for sparql store ), python_requires=">=3.7", ) - -# FIXME: bsfs/graph/schema.nt -# FIXME: bsfs.app - -- cgit v1.2.3 From 3ae93a405724ca6b5ddeb0b458fcc95685f83f09 Mon Sep 17 00:00:00 2001 From: Matthias Baumgartner Date: Sun, 5 Mar 2023 19:12:57 +0100 Subject: build fixes --- setup.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 747e853..f6bd3e8 100644 --- a/setup.py +++ b/setup.py @@ -9,14 +9,15 @@ setup( author='Matthias Baumgartner', author_email='dev@bsfs.io', description='A content-aware graph file system.', - long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(), + long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), license='BSD', license_files=('LICENSE', ), url='https://www.bsfs.io/bsfs/', download_url='https://pip.bsfs.io', # packages - packages=[p for p in find_packages() if p.startswith('bsfs')], + packages=find_packages(include=['bsfs']), + package_dir={'bsfs': 'bsfs'}, # data files are included if mentioned in MANIFEST.in include_package_data=True, @@ -28,10 +29,16 @@ setup( }, # dependencies + python_requires=">=3.7", install_requires=( 'rdflib', # schema and sparql storage 'hopcroftkarp', # ast matching 'numpy', # distance functions for sparql store ), - python_requires=">=3.7", + extras_require={ + 'dev': ['coverage', 'mypy', 'pylint'], + 'doc': ['sphinx', 'furo', 'sphinx-copybutton'], + 'test': [], + 'build': ['build'], + }, ) -- cgit v1.2.3