-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caster as a Python package #246
Caster as a Python package #246
Conversation
FYI Another interesting package manager Poetry In terms of managing packaging this looks really well done from start to finish. It publishes to PyPI so the end-user can utilize PIP. Anyway it's just another option among many that might be useful. |
I would like to try the stock solution first, to avoid adding new dependencies and because there is a lot of documentation. When it's done, it shouldn't be too hard to upgrade it. Also, as far as publishing is concerned, shouldn't we consult with synkarius before doing so since we will need to provide authors names and emails etc. ? The current changes I have made are:
Some notes about the changes I plan to make for feedback:
|
That's good what about publishing the package. I think you're right we would definitely need to contact synkarius. It would be great to have him involved even if briefly to clarify a few aspects of Caster. I deftly think you're right the let's get it packaged by current standards. We can reevaluate that later if needed. |
I was thinking about using pyinstaller for them. This pull request will deal with the Core parts of caster. after its done, We will make a standard installer which will bundle Python, natlink, Windows32 and caster and install everything. Part of the installation process will be to use pip to install caster as a Python package. |
Hi @gerrish , I am interested particularly in the moving out of user data, please let me know if I can help. A small suggestion would be to start the user directory subdirectory with a dot (.caster), which is customary in Unix and now Windows as well |
@gerrish Danesprite/dragonfly Is now installable through pip as dragonfly2. Simply close Dragon NaturallySpeaking and run |
Fulfilled by b244c12 |
This is a preliminary pull request which will eventually include everything required to make caster a Python package. It is not ready for testing due to requiring changes to settings.py.
The setup.py file will install the lib,asynch sub packages into the installed python packages. This eliminates the annoying import error messages when debugging caster modules and will eventually lead to the splitting of caster into 2 parts:
Things required:
-Modify settings.py paths to point to the correct locations
-Store user data in an appropriate location
Feedback required on:
-The proposed new file structure for caster
-Other suggestions for the setup file