Skip to content

Commit 3610614

Browse files
committed
minor tweaks for pypi and v0.2
1 parent 06bfc40 commit 3610614

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ __pycache__/
1515
export
1616
dist
1717
MANIFEST
18+
build
19+
*egg-info

README.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ A Python script that parses a .csv file of contacts and automatically creates vC
44

55
Usage
66
-----
7-
1. Create CSV table with contacts
7+
8+
1. Install package with ``pip3 install csv2vcard``
9+
10+
2. Create csv file with contacts
811

912
*CSV file format (delimeter can be changed in csv_delimeter param, see below)*
1013

1114
``last_name, first_name, org, title, phone, email, website, street, city, p_code, country``
1215

1316
**Important: you should name the columns exactly the same way because they are used as keys to generate the vCards**
1417

15-
2. ``git clone`` or download and ``cd`` to folder
18+
2. ``cd yourcsvfoldername`` go to the folder where you have your csv file
1619

1720
3. Open python ``python3`` (gotcha: using Python 3.6 features)
1821

@@ -21,4 +24,4 @@ Usage
2124
5. Now you have 2 options for running (both will create an /export/ dir for your vCard):
2225

2326
- Test the app with ``csv2vcard.test_csv2vcard()``. This will create a Forrest Gump test vCard.
24-
- Use your real data ``csv2vcard.csv2vcard(yourfilename, ",")``. This will create all your vCards.
27+
- Use your real data ``csv2vcard.csv2vcard("yourcsvfilename", ",")`` where "," is your csv delimeter. This will create all your vCards.

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
import os
2-
from distutils.core import setup
2+
from setuptools import setup
33

44
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
55
README = readme.read()
66

77
setup(
88
name = 'csv2vcard',
99
packages = ['csv2vcard'],
10-
version = '0.1',
10+
version = '0.2',
1111
description = 'A library for converting csvs to vCards',
1212
long_description = README,
1313
author = 'Nikolay Dimolarov',
1414
author_email = '[email protected]',
1515
url = 'https://github.com/tech4242/csv2vcard',
16-
download_url = 'https://github.com/tech4242/csv2vcard/archive/0.1.tar.gz',
16+
download_url = 'https://github.com/tech4242/csv2vcard/archive/0.2.tar.gz',
1717
keywords = ['csv', 'vcard', 'export'],
18-
python_requires = '>=3.5',
18+
python_requires = '>=3.6',
1919
classifiers = [
2020
'Development Status :: 3 - Alpha','License :: OSI Approved :: MIT License',
21-
'Programming Language :: Python :: 3.5',
21+
'Programming Language :: Python :: 3.6',
2222
],
2323
)

0 commit comments

Comments
 (0)