You can add your app to it quite easily, I was surprised how quickly this worked. ( Requires Python 2.3 or later ) Make sure you have the right meta-data in I repeated the command sudo apt-get install build-essential python2.7-dev python-numpy python-matplotlib and everything installed perfectly. Examples¶ This chapter provides a number of basic examples to help get started with distutils. Happy coding. Source
if you're distributing modules foo and bar, your setup might look like this:
I call it 'runner' (without the .py) in this example. python-2.7 numpy matplotlib ubuntu-14.04 share|improve this question edited Apr 21 '15 at 21:44 ali_m 29.4k669119 asked Apr 14 '15 at 16:05 elizabeth 1 add a comment| 2 Answers 2 active oldest I tried to install and got this error: [email protected]:~/opt/HTSeq-0.6.1p1$ python setup.py install --user Could not import 'setuptools', falling back to 'distutils'. How do you make a Canon 70D show the photo you just took on the rear display?
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I followed the instructions on the HTSeq install page to install numpy and matplotlib. The simplest case, a single extension module in a single C source file, is:
I read this as saying "The package named 'package' needs the files in [list]" scripts = [ ] A script(s) to be installed into standard locations like /usr/bin. When hiking, why is the right of way given to people going up? The setup script from the last example could also be written as from distutils.core import setup setup(name='foobar', version='1.0', packages=[''], ) (The empty string stands for the root package.) If those two If something is missing, check will display a warning.
share|improve this answer edited May 1 '12 at 12:28 answered May 1 '12 at 11:42 Serge S. 2,91222341 Thanks SergeanT, but sorry to bother you once again - when Importerror: No Module Named Extern Using local copy.] freetype: no [The C/C++ header for freetype2 (ft2build.h) could not be found. Follow the instructions in it to complete registration.If you have an account, obv, choose 1. The package need python 2.4 or latest version.
numpy==1.9.2 scipy==0.15.1 pillow==2.8.1 pandas==0.16.1 scikit-learn==0.16.1 scikit-image==0.11.3 ... Get More Info Checking a package 7.5. Setuptools Must Be Installed To Install From A Source Distribution Pip You signed in with another tab or window. Install Htseq Why is credit card information not stolen more often?
Please install numpy and then try again to install HTSeq. this contact form i.e., multitool.main() was showing, but not multitool.core. Click here to register now, and join the discussion Community Links Members List Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Is ATC communication subject to FCC profanity regulations? Could Not Import Setuptools Which Is Required To Install From A Source Distribution
Here is the result of print sys.path Code: ['', '/home/CCP4/ccp4-6.2.0/share/python', '/home', '/home/CCP4/Python-2.6.7/lib/python26.zip', '/home/CCP4/Python-2.6.7/lib/python2.6', '/home/CCP4/Python-2.6.7/lib/python2.6/plat-linux2', '/home/CCP4/Python-2.6.7/lib/python2.6/lib-tk', '/home/CCP4/Python-2.6.7/lib/python2.6/lib-old', '/home/CCP4/Python-2.6.7/lib/python2.6/lib-dynload', '/home/CCP4/Python-2.6.7/lib/python2.6/site-packages'] I'll have to talk to my PI - the install was from a After unpackaging the HTSeq source tarball (HTSeq-0.5.4p3) and navigating to the correct directory I entered: python setup.py build and get the following error Code: Could not import 'setuptools', falling back to When hiking, why is the right of way given to people going up? have a peek here version gets appended to the end of the tarball name.
Please consult the Python Docs for this info. Setuptools Python You do not have to include any .py files in your package-root folder. What does this symbol of a car balancing on two wheels mean?
It should look (something) like this: distutils:$ runner module is running /usr/lib/python2.4/site-packages/package My various data files and so on are: ['cross.png', 'fplogo.png', 'tick.png'] Registering with the Cheese Shop (PyPI) The Cheese It doesn't matter. asked 1 year ago viewed 459 times active 1 year ago Get the weekly newsletter! Easy_install Would presence of MANPADS ground the entire airline industry?
Checking a package¶ The check command allows you to verify if your package meta-data meet the minimum requirements to build a distribution. running install running build running build_py creating build creating build/lib.linux-i686-2.7 creating build/lib.linux-i686-2.7/HTSeq copying HTSeq/__init__.py -> build/lib.linux-i686-2.7/HTSeq copying HTSeq/_HTSeq_internal.py -> build/lib.linux-i686-2.7/HTSeq copying HTSeq/StepVector.py -> build/lib.linux-i686-2.7/HTSeq copying HTSeq/_version.py -> build/lib.linux-i686-2.7/HTSeq creating build/lib.linux-i686-2.7/HTSeq/scripts copying Reload to refresh your session. http://sinistro.org/could-not/could-not-import-the-clipboard-because.html Reading the metadata¶ The distutils.core.setup() function provides a command-line interface that allows you to query the metadata fields of a project through the setup.py script of a given project:
import package.module package.module.start () module.py Next is the package. Unsold Atari videogames dumped in a desert? Try this: import multitool.core.classes class HashTool(multitool.core.classes.CLITool): share|improve this answer answered Jun 15 '14 at 3:00 Éric Araujo 5,10611228 add a comment| Your Answer draft saved draft discarded Sign up or