Skip to content

Commit

Permalink
Adding manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
euxhenh committed Dec 23, 2021
1 parent cf30b68 commit 1054eeb
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 3 deletions.
15 changes: 15 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Copyright 2021 Euxhen Hasanaj

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 changes: 9 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
include LICENSE
include MANIFEST.in
include pyproject.toml
include README.rst
include test/*.py
include includes/*

exclude .git*
prune .github
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ TestSet: test_set.o $(OBJ)
$(CC) $(CFLAGS) -o test_set test_set.o $(OBJ)

test_set.o:
$(CC) $(CFLAGS) -c tests/test_set.cpp
$(CC) $(CFLAGS) -c test/test_set.cpp

clean:
rm -f *.o
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"
27 changes: 25 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from distutils import cmd
import glob
import os

Expand All @@ -9,17 +10,39 @@
include_dirs=['includes'],
extra_compile_args=['-std=c++17', '-O2'])


class CleanCommand(Command):
user_options = []

def initialize_options(self):
pass

def finalize_options(self):
pass

def run(self):
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')


cmdclass = {'clean': CleanCommand}

options = {
'name': 'multiset_multicover',
'description': 'MM is a package for running the greedy cover algorithm to perform multiset multicover.',
'license': 'MIT',
'version': '1.1.1',
'author': 'Euxhen Hasanaj',
'author_email': 'ehasanaj@cs.cmu.edu',
'provides': 'multiset_multicover',
'url': 'https://github.com/ferrocactus/multiset_multicover',
'provides': ['multiset_multicover'],
'package_dir': {'multiset_multicover': os.path.join('src', 'multiset_multicover')},
'packages': ['multiset_multicover'],
'cmdclass': cmdclass,
'ext_modules': [gci_ext],
'platforms': 'ALL'
'platforms': 'ALL',
'keywords': ['set', 'cover', 'multiset', 'multicover', 'greedy'],
'install_requires': [],
'python_requires': ">=3.8"
}

setup(**options)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1054eeb

Please sign in to comment.