Skip to content

Commit ac634ae

Browse files
committed
Moved the python packaging files into the root dir.
1 parent 7ac6082 commit ac634ae

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

.gitignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
build/
1+
/build
2+
/dist
3+
/*.egg-info
4+
25
.DS_Store
3-
python/files.txt
4-
python/build
File renamed without changes.

python/.gitignore

-3
This file was deleted.

python/setup.cfg setup.cfg

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = 0.1
44
author = Giulio Ermanno Pibiri
55
url = https://github.com/jermp/tongrams
66
description = Tons of N-Grams
7-
long_description = file: ReadMe.md
7+
long_description = file: python/ReadMe.md
88
keywords = n-grams, storage, trie, hashtable
99
license = MIT
1010
classifiers =
@@ -22,4 +22,5 @@ classifiers =
2222
python_requires = >=3.4
2323
zip_safe = True
2424
setup_requires = setuptools>=44; wheel
25-
25+
package_dir =
26+
= python

python/setup.py setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
module = Extension('tongrams',
55
define_macros = [('MAJOR_VERSION', '1'),
66
('MINOR_VERSION', '0')],
7-
include_dirs = ['../include', '../external/emphf', '../external/essentials'],
7+
include_dirs = ['./include', './external/emphf', './external/essentials'],
88
libraries = ['boost_iostreams', 'boost_regex'],
99
extra_compile_args=['-std=c++17'],
10-
sources = ['tongrams.cpp'])
10+
sources = ['python/tongrams.cpp'])
1111

1212
setup(ext_modules = [module])

0 commit comments

Comments
 (0)