pycifrw
pycifrw copied to clipboard
Hi, currently, PyCifRW installation from pip requires either build tools installed or being on windows and python 3.11 Is it possible, to either losen the restrictions - as far as...
Here's a minimal example: ```pycon >>> from CifFile import CifFile, CifBlock >>> cf['9xyz'] = CifBlock() >>> x = cf.WriteOut() Writing 9xyz, All blocks output. ``` If I want to control...
In certain situations pip will require a C compiler to be available when installing. This should be indicated in the installation instructions.
The following line: https://github.com/jamesrhester/pycifrw/blob/bd9b7ae234217bb5e10ebf204d2eeafd00611fa3/src/CifFile_module.nw#L561 emits a SyntaxWarning on Python 3.11: ``` CifFile/CifFile_module.py:356 CifFile/CifFile_module.py:356: SyntaxWarning: "is not" with a literal. Did you mean "!="? if do_imports is not 'No': ```
See below ``` ====================================================================== FAIL: testLongStringInOut (__main__.FileWriteTestCase) Test writing long string in and out ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\users\jxh\software\pycifrw\TestPyCIFRW.py", line 665, in testLongStringInOut self.failUnless(compstring == self.cf['_item_4']) AssertionError:...