HTSeq 2.0.4__tar.gz → 2.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/StepVector.py +1 -1
  2. htseq-2.0.7/HTSeq/_version.py +1 -0
  3. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq.egg-info/PKG-INFO +9 -2
  4. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq.egg-info/SOURCES.txt +1 -0
  5. {HTSeq-2.0.4 → htseq-2.0.7}/PKG-INFO +9 -2
  6. htseq-2.0.7/VERSION +1 -0
  7. htseq-2.0.7/pyproject.toml +3 -0
  8. {HTSeq-2.0.4 → htseq-2.0.7}/setup.py +11 -43
  9. {HTSeq-2.0.4 → htseq-2.0.7}/src/StepVector.py +1 -1
  10. {HTSeq-2.0.4 → htseq-2.0.7}/src/StepVector_wrap.cxx +314 -40
  11. {HTSeq-2.0.4 → htseq-2.0.7}/src/_HTSeq.c +6088 -2686
  12. {HTSeq-2.0.4 → htseq-2.0.7}/test/test_general.py +2 -2
  13. {HTSeq-2.0.4 → htseq-2.0.7}/test/test_genomic.py +2 -2
  14. {HTSeq-2.0.4 → htseq-2.0.7}/test/test_parsers.py +2 -2
  15. {HTSeq-2.0.4 → htseq-2.0.7}/test/test_stretch_vector.py +2 -2
  16. HTSeq-2.0.4/HTSeq/_version.py +0 -1
  17. HTSeq-2.0.4/VERSION +0 -1
  18. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/StretchVector.py +0 -0
  19. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/_HTSeq_internal.py +0 -0
  20. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/__init__.py +0 -0
  21. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/features.py +0 -0
  22. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/__init__.py +0 -0
  23. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/count.py +0 -0
  24. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/count_features/__init__.py +0 -0
  25. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/count_features/count_features_per_file.py +0 -0
  26. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/count_features/reads_io_processor.py +0 -0
  27. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/count_features/reads_stats.py +0 -0
  28. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/count_old.py +0 -0
  29. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/count_with_barcodes.py +0 -0
  30. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/qa.py +0 -0
  31. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/scripts/utils.py +0 -0
  32. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq/utils.py +0 -0
  33. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq.egg-info/dependency_links.txt +0 -0
  34. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq.egg-info/requires.txt +0 -0
  35. {HTSeq-2.0.4 → htseq-2.0.7}/HTSeq.egg-info/top_level.txt +0 -0
  36. {HTSeq-2.0.4 → htseq-2.0.7}/LICENSE +0 -0
  37. {HTSeq-2.0.4 → htseq-2.0.7}/MANIFEST.in +0 -0
  38. {HTSeq-2.0.4 → htseq-2.0.7}/README.md +0 -0
  39. {HTSeq-2.0.4 → htseq-2.0.7}/scripts/htseq-count +0 -0
  40. {HTSeq-2.0.4 → htseq-2.0.7}/scripts/htseq-count-barcodes +0 -0
  41. {HTSeq-2.0.4 → htseq-2.0.7}/scripts/htseq-qa +0 -0
  42. {HTSeq-2.0.4 → htseq-2.0.7}/setup.cfg +0 -0
  43. {HTSeq-2.0.4 → htseq-2.0.7}/src/AutoPyObjPtr.i +0 -0
  44. {HTSeq-2.0.4 → htseq-2.0.7}/src/HTSeq/_HTSeq.pxd +0 -0
  45. {HTSeq-2.0.4 → htseq-2.0.7}/src/HTSeq/_HTSeq.pyx +0 -0
  46. {HTSeq-2.0.4 → htseq-2.0.7}/src/HTSeq/__init__.py +0 -0
  47. {HTSeq-2.0.4 → htseq-2.0.7}/src/StepVector.i +0 -0
  48. {HTSeq-2.0.4 → htseq-2.0.7}/src/step_vector.h +0 -0
  49. {HTSeq-2.0.4 → htseq-2.0.7}/test/test_htseq-count.py +0 -0
@@ -1,5 +1,5 @@
1
1
  # This file was automatically generated by SWIG (https://www.swig.org).
2
- # Version 4.1.1
2
+ # Version 4.2.1
3
3
  #
4
4
  # Do not make changes to this file unless you know what you are doing - modify
5
5
  # the SWIG interface file instead.
@@ -0,0 +1 @@
1
+ __version__ = "2.0.7"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: HTSeq
3
- Version: 2.0.4
3
+ Version: 2.0.7
4
4
  Summary: A framework to process and analyze data from high-throughput sequencing (HTS) assays
5
5
  Home-page: https://github.com/htseq
6
6
  Author: Simon Anders, Fabio Zanini
@@ -16,9 +16,16 @@ Classifier: License :: OSI Approved :: GNU General Public License (GPL)
16
16
  Classifier: Operating System :: POSIX
17
17
  Classifier: Programming Language :: Python
18
18
  Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: numpy
21
+ Requires-Dist: pysam
19
22
  Provides-Extra: htseq-qa
23
+ Requires-Dist: matplotlib>=1.4; extra == "htseq-qa"
20
24
  Provides-Extra: test
21
- License-File: LICENSE
25
+ Requires-Dist: scipy>=1.5.0; extra == "test"
26
+ Requires-Dist: pytest>=6.2.5; extra == "test"
27
+ Requires-Dist: pandas>=1.1.0; extra == "test"
28
+ Requires-Dist: matplotlib>=1.4; extra == "test"
22
29
 
23
30
  ![CI](https://github.com/htseq/htseq/actions/workflows/ci.yml/badge.svg?branch=main)
24
31
  [![Documentation Status](https://readthedocs.org/projects/htseq/badge/?version=latest)](https://htseq.readthedocs.io)
@@ -2,6 +2,7 @@ LICENSE
2
2
  MANIFEST.in
3
3
  README.md
4
4
  VERSION
5
+ pyproject.toml
5
6
  setup.py
6
7
  HTSeq/StepVector.py
7
8
  HTSeq/StretchVector.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: HTSeq
3
- Version: 2.0.4
3
+ Version: 2.0.7
4
4
  Summary: A framework to process and analyze data from high-throughput sequencing (HTS) assays
5
5
  Home-page: https://github.com/htseq
6
6
  Author: Simon Anders, Fabio Zanini
@@ -16,9 +16,16 @@ Classifier: License :: OSI Approved :: GNU General Public License (GPL)
16
16
  Classifier: Operating System :: POSIX
17
17
  Classifier: Programming Language :: Python
18
18
  Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: numpy
21
+ Requires-Dist: pysam
19
22
  Provides-Extra: htseq-qa
23
+ Requires-Dist: matplotlib>=1.4; extra == "htseq-qa"
20
24
  Provides-Extra: test
21
- License-File: LICENSE
25
+ Requires-Dist: scipy>=1.5.0; extra == "test"
26
+ Requires-Dist: pytest>=6.2.5; extra == "test"
27
+ Requires-Dist: pandas>=1.1.0; extra == "test"
28
+ Requires-Dist: matplotlib>=1.4; extra == "test"
22
29
 
23
30
  ![CI](https://github.com/htseq/htseq/actions/workflows/ci.yml/badge.svg?branch=main)
24
31
  [![Documentation Status](https://readthedocs.org/projects/htseq/badge/?version=latest)](https://htseq.readthedocs.io)
htseq-2.0.7/VERSION ADDED
@@ -0,0 +1 @@
1
+ 2.0.7
@@ -0,0 +1,3 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel", "numpy", "Cython"]
3
+ build-backend = "setuptools.build_meta"
@@ -78,48 +78,6 @@ kwargs = dict(
78
78
  },
79
79
  )
80
80
 
81
- try:
82
- import numpy
83
- except ImportError:
84
- sys.stderr.write("Setup script for HTSeq: Failed to import 'numpy'.\n")
85
- sys.stderr.write("Please install numpy and then try again to install" +
86
- " HTSeq.\n")
87
- sys.exit(1)
88
-
89
-
90
- numpy_include_dir = os.path.join(
91
- os.path.dirname(numpy.__file__),
92
- 'core',
93
- 'include',
94
- )
95
-
96
-
97
- #def get_include_dirs(cpp=False):
98
- # '''OSX 10.14 and later split the /usr/include contents everywhere'''
99
- # include_dirs = []
100
- # if sys.platform != 'darwin':
101
- # return include_dirs
102
- #
103
- # paths = {
104
- # 'C': [
105
- # '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/',
106
- # ],
107
- # 'C++': [
108
- # '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/',
109
- # ],
110
- # }
111
- #
112
- # for path in paths['C']:
113
- # if os.path.isdir(path):
114
- # include_dirs.append(path)
115
- # if cpp:
116
- # for path in paths['C++']:
117
- # if os.path.isdir(path):
118
- # include_dirs.append(path)
119
- #
120
- # return include_dirs
121
-
122
-
123
81
  def get_library_dirs_cpp():
124
82
  '''OSX 10.14 and later messed up C/C++ library locations'''
125
83
  if sys.platform == 'darwin':
@@ -200,6 +158,16 @@ class Build_with_preprocess(build_py):
200
158
  build_py.run(self)
201
159
 
202
160
 
161
+ def lazy_numpy_include_dir():
162
+ """Lazily obtain NumPy include directory."""
163
+ try:
164
+ import numpy
165
+ return os.path.join(os.path.dirname(numpy.__file__), 'core', 'include')
166
+ except ImportError:
167
+ sys.stderr.write("Failed to import 'numpy'. It is required for building HTSeq.\n")
168
+ sys.exit(1)
169
+
170
+
203
171
  setup(name='HTSeq',
204
172
  version=version,
205
173
  author='Simon Anders, Fabio Zanini',
@@ -225,7 +193,7 @@ setup(name='HTSeq',
225
193
  Extension(
226
194
  'HTSeq._HTSeq',
227
195
  ['src/_HTSeq.c'],
228
- include_dirs=[numpy_include_dir],#+get_include_dirs(),
196
+ include_dirs=[lazy_numpy_include_dir()],#+get_include_dirs(),
229
197
  extra_compile_args=['-w']),
230
198
  Extension(
231
199
  'HTSeq._StepVector',
@@ -1,5 +1,5 @@
1
1
  # This file was automatically generated by SWIG (https://www.swig.org).
2
- # Version 4.1.1
2
+ # Version 4.2.1
3
3
  #
4
4
  # Do not make changes to this file unless you know what you are doing - modify
5
5
  # the SWIG interface file instead.