Skip to content

Commit

Permalink
Updated package configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vadyushkins committed Feb 25, 2021
1 parent fc3391d commit 1e773a6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
42 changes: 18 additions & 24 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
import sys
from pathlib import Path

from setuptools import *
import setuptools

from cfpq_data.config import *
with open(Path(__file__).parent / 'docs' / 'README.md', "r", encoding="utf-8") as fh:
long_description = fh.read()

sys.path.append(MAIN_FOLDER)

setup(
name=PACKAGE_NAME
, version=PACKAGE_VERSION
, description='Graphs and grammars for experimental analysis of context-free path querying algorithms'
, long_description=Path(__file__).parent / 'README.md'
, long_description_content_type='text/markdown'
, packages=find_packages(exclude='tools') # better to completely remove tools in the next versions
, package_dir=MAIN_FOLDER
, url='https://github.com/JetBrains-Research/CFPQ_Data'
, license='Apache License 2.0'
, author='Grigorev Semyon'
, author_email='rsdpisuy@gmail.com'
, package_data={'': ['*.json'], 'cfpq_data': ['data/*/Grammars/*.txt']}
, include_package_data=True
, entry_points={
'console_scripts': [
'cfpq_data = cfpq_data.cmd_parser:cmd_parser'
]
}
setuptools.setup(
name='cfpq_data',
version='0.0.0',
description='Graphs and grammars for experimental analysis of context-free path querying algorithms',
long_description=long_description,
long_description_content_type='text/markdown',
packages=setuptools.find_packages(),
url='https://github.com/JetBrains-Research/CFPQ_Data',
license='Apache License 2.0',
author='Grigoriev Semyon',
author_email='rsdpisuy@gmail.com',
package_data={'': ['*.json'], 'cfpq_data': ['data/*/Grammars/*.txt']},
include_package_data=True,
python_requires='>=3.7',
)

0 comments on commit 1e773a6

Please sign in to comment.