Comments (11)
Our plan was to move to GNU make. Lowering the bar for building for contributors that are on Windows systems, which will be the most common since they need Windows to test, is a good idea.
from nimi-python.
I feel like make
will not help the barrier to entry for windows developers. Keeping it within the python ecosystem seems like it'd be best, like using a basic build.py
or using a tool like waf.
from nimi-python.
My gut feeling is: start with a hand-coded build.py and only move to waf if we feel it's worth it.
@texasaggie97 you've been looking at GNU Make. What do you think about this?
from nimi-python.
Related: pull #14 uses GNU Make.
from nimi-python.
I have switched to build.py. See PR #14
from nimi-python.
#14 has been merged.
from nimi-python.
All,
I have tested this and it fails with the following error.
"
C:\Users\Administrator\Desktop\nimi-python-master>python35 ./build.py
codegen_path = C:\Users\Administrator\Desktop\nimi-python-master\src\codegen
Traceback (most recent call last):
File "./build.py", line 103, in
main()
File "./build.py", line 60, in main
codegen = path_import(codegen_path)
File "./build.py", line 32, in path_import
module = importlib.import_module(os.path.basename(absolute_path))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\importlib_init_.py",
line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in load_unlocked
File "", line 662, in exec_module
File "", line 222, in call_with_frames_removed
File "C:\Users\Administrator\Desktop\nimi-python-master\src\codegen_init.py", line 2, in
from src.codegen.generateTemplate import configure_logging
File "C:\Users\Administrator\Desktop\nimi-python-master\src\codegen_init.py", line 2, in
from src.codegen.generateTemplate import configure_logging
File "C:\Users\Administrator\Desktop\nimi-python-master\src\codegen\generateTemplate.py", line 3, in
from mako.template import Template
ImportError: No module named 'mako'
"
from nimi-python.
Missing dependency. You need to install mako.
from nimi-python.
This wont be required of customers right, just developers?
from nimi-python.
Missing dependency. You need to install mako.
This wont be required of customers right, just developers?
Correct, this is for people who want to contribute. Mako is the template engine.
Were we to add a dependency to our modules, such as numpy, then we'd set it up so they get installed as part of the PyPI installation.
from nimi-python.
Build on my local machine after installing mako
from nimi-python.
Related Issues (20)
- Repeated capability accessors return internal `_SessionBase` type HOT 2
- Incorrect documentation for the channel_name parameter of niFgen.Session HOT 2
- Add library stubs for use with mypy HOT 6
- Documentation is failing to build on Read the Docs due to the read_the_docs theme not being found.
- Error in return type for most 'autorange' properties in nidcpower library HOT 7
- Unnecessary write access request when trying to read a property HOT 5
- Silently ignore and change value when passing minimum value to source_delay attribute in nidcpower HOT 4
- nidcpower.errors.DriverError: -1074097808: Could not load the dynamic library. HOT 2
- APIs allow repeated capabilities to access attributes and methods that don't support them HOT 6
- Github Actions Workflows should be updated to use Node.js 20 HOT 2
- Adopt use of Mend Renovate App to automatically update tooling and dependencies HOT 2
- Internal Test Suites do not report results of example testing HOT 1
- Using Python FGEN API to control PXIe-5413 signal generator works first time but fails after power cycling devices with error "-88717: No device by the given name was found" HOT 10
- Add support for Python 3.12 HOT 1
- Drop Python 3.9 support when it goes EOL
- codecov status badge is affected by coverage of unmerged PRs HOT 1
- Create a tool to help with version support changes
- nidcpower.errors.DriverError: -1074135040: IVI: Unrecoverable Failure. HOT 11
- Bypass NI cooling requirements HOT 1
- Cannot connect to a PXIe-4139 card located at some IP address HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimi-python.