Skip to content

Loading…

Packaging fixes / enhancements #19

Merged
merged 3 commits into from

2 participants

@laurentb

The first commit removes the tests directory from the installation.
The issue is that it would be installed into /usr/lib64/python2.7/site-packages/tests/ (for instance), which is clearly not the right namespace.

The second commit is just an enhancement, it adds the README.md & LICENSE files to the .tar.gz archive that gets uploaded on PyPI.

@laurentb

I also added the license info in setup.py.

Without it, PKG-INFO had "License: UNKNOWN"

@ronnix ronnix merged commit e08e334 into ronnix:master
@ronnix
Owner

Thanks!

@ronnix
Owner

I made a new release including your packaging fixes. I also switched the README to reStructuredText in order to show it on PyPI.

@laurentb

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 19, 2012
  1. @laurentb
  2. @laurentb

    Add LICENSE and README.md to the source distribution

    laurentb committed
    They are not installed, but will be included in the tar.gz.
  3. @laurentb

    Add license to the packaging

    laurentb committed
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +2 −0 MANIFEST.in
  3. +2 −1 setup.py
View
1 .gitignore
@@ -3,6 +3,7 @@
.Python
bin/
build/
+dist/
include/
lib/
man/
View
2 MANIFEST.in
@@ -0,0 +1,2 @@
+include README.md
+include LICENSE
View
3 setup.py
@@ -12,6 +12,7 @@
author='Ronan Amicel',
author_email='ronan.amicel@gmail.com',
url='http://github.com/ronnix/fabtools',
+ license='BSD',
install_requires=[
"fabric>=1.2.0",
],
@@ -20,7 +21,7 @@
"unittest2",
"mock",
],
- packages=find_packages(exclude=['ez_setup']),
+ packages=find_packages(exclude=['ez_setup', 'tests']),
include_package_data=True,
zip_safe=False,
classifiers=[
Something went wrong with that request. Please try again.