Skip to content

Commit edcd7de

Browse files
committed
Fork packet_parser to start nadamq
1 parent 38e44fe commit edcd7de

30 files changed

+159
-37
lines changed

.gitignore

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# ragel-generated file
2-
/packet_actions.c
3-
/packet_actions.dot
4-
/packet_actions.pdf
5-
6-
# Cython-generated/-compiled file(s)
7-
/PacketParser.cpp
8-
/PacketParser.so
1+
*.o
2+
*.pyc
3+
RELEASE-VERSION
4+
MANIFEST

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include RELEASE-VERSION
2+
include version.py
File renamed without changes.

packet_parser/__init__.py renamed to nadamq/__init__.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,47 +2,47 @@
22

33

44
def get_includes():
5-
import packet_parser
5+
import nadamq
66
r"""
7-
Return the directory that contains the `packet_parser` Cython *.hpp and
7+
Return the directory that contains the `nadamq` Cython *.hpp and
88
*.pxd header files.
99
10-
Extension modules that need to compile against `packet_parser` should use
10+
Extension modules that need to compile against `nadamq` should use
1111
this function to locate the appropriate include directory.
1212
1313
Notes
1414
-----
1515
When using ``distutils``, for example in ``setup.py``.
1616
::
1717
18-
import packet_parser
18+
import nadamq
1919
...
2020
Extension('extension_name', ...
21-
include_dirs=[...] + packet_parser.get_includes())
21+
include_dirs=[...] + nadamq.get_includes())
2222
...
2323
2424
"""
25-
return [os.path.join(os.path.dirname(packet_parser.__file__), 'src')]
25+
return [os.path.join(os.path.dirname(nadamq.__file__), 'src')]
2626

2727

2828
def get_sources():
29-
import packet_parser
29+
import nadamq
3030
r"""
3131
Return a list of the additional *.cpp files that must be compiled along
32-
with the `packet_parser` Cython extension definitions.
32+
with the `nadamq` Cython extension definitions.
3333
34-
Extension modules that need to compile against `packet_parser` should use
34+
Extension modules that need to compile against `nadamq` should use
3535
this function to locate the appropriate source files.
3636
3737
Notes
3838
-----
3939
When using ``distutils``, for example in ``setup.py``.
4040
::
4141
42-
import packet_parser
42+
import nadamq
4343
...
4444
Extension('extension_name', ...
45-
sources + packet_parser.get_sources())
45+
sources + nadamq.get_sources())
4646
...
4747
4848
"""
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)