Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/looooo/freecad_dist
install freecad modules with distutils
https://github.com/looooo/freecad_dist
Last synced: 26 days ago
JSON representation
install freecad modules with distutils
- Host: GitHub
- URL: https://github.com/looooo/freecad_dist
- Owner: looooo
- License: lgpl-2.1
- Created: 2015-11-16T16:42:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-24T09:35:35.000Z (about 9 years ago)
- Last Synced: 2024-10-20T00:52:58.341Z (3 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# freecad_dist
install freecad modules with distutils## example setup.py file
```python
from freecad_dist import fc_install # custom freecad install
from setuptools.core import setupsetup(cmdclass={'install': fc_install},
install_requires=["numpy"],
name='package_name',
version='0.1',
description='freecad workbench for my application',
url='my_website',
author='my_name',
license='LGPL2',
packages=["path_to_wb_directory"],
package_data = {"": ["*.svg", "*.json"]}) # not std files (.py)
```## upload to pypi-testing:
preparation for upload to pypi: http://peterdowns.com/posts/first-time-with-pypi.html### register package
```bash
python setup.py register -r pypitest
```
### upload package
```bash
python setup.py sdist upload -r pypitest
```
### test install
```bash
pip install -i https://testpypi.python.org/pypi
```## upload to pypi:
### register package
```bash
python setup.py register -r pypi
```
### upload package
```bash
python setup.py sdist upload -r pypi
```
### install
```bash
pip install
```