devcartel / pyrfa

Open sourced Python API for Refinitiv (Thomson Reuters) Enterprise Platform.
http://devcartel.com/pyrfa
MIT License
51 stars 15 forks source link

offering setup.py #3

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hello, I was wondering if it is possible for you to provide setup.py to automatically install the package.

Thanks!

wiwat-tharateeraparb commented 10 years ago

We are working on the setup script for package installation in the next release. Thanks for feedback.

wiwat-tharateeraparb commented 10 years ago

setup.py

#!/usr/bin/env python

from distutils.core import setup
import platform

setup(name='pyrfa',
      version='7.6.0.1',
      description='Python module For Thomson Reuters Robust Foundation API (RFA)',
      author='DevCartel Company Limited',
      author_email='support@devcartel.com',
      url='http://www.devcartel.com/pyrfa',
      packages=['pyrfa'],
      package_dir = {'': 'lib'},
      package_data={'pyrfa': [('pyrfa.pyd' if platform.system() == 'Windows' else 'pyrfa.so')]}
     )

You can put setup.py inside the downloaded package e.g. pyrfa7.6.0.1-linux-x86_64/setup.py and run this command:

$ python setup.py install

We will include this setup.py in the next release.

ghost commented 10 years ago

Thanks!

fersarr commented 6 years ago

The setup.py is still not there