Skip to content

Commit

Permalink
Use setuptools instead of distutils
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiete committed Jan 23, 2018
1 parent e92f72d commit d628f6d
Show file tree
Hide file tree
Showing 39 changed files with 123 additions and 139 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
*.pyc
*.db
*.sqlite
*.pot
*.egg-info
*.tar.gz
data/amir.conf
build/
MANIFEST
*.pot
build/
dist/
*.egg-info
deb_dist/
*.tar.gz
locale/
66 changes: 48 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,73 @@
# Amir accounting software
# Amir Accounting Software

Amir accounting program is free (as in freedom) software, and you can change it or even give it to your friends.
Amir is an accounting software mostly focused on businesses based in Iran.

Version 0.1 of this program is now available for [Windows](https://launchpad.net/amir/0.1/0.1/+download/Amir-0.1-win32-setup.exe) and Linux operating systems. Program is writen with Python and if you are a programmer then you can run it on other platforms.

Amir is released under the GPL v3 license.

Our sites:
http://www.freeamir.com
![Screenshot](http://www.freeamir.com/images/thumb/c/cd/Win1.png/727px-Win1.png)

https://github.com/Jooyeshgar/amir
## Requirements

https://launchpad.net/amir/
* python (2.7)
* pip
* setuptools
* python-glade2

![Screenshot](http://www.freeamir.com/images/thumb/c/cd/Win1.png/727px-Win1.png)
to install other requirements simply run below commands:

```bash
pip install -r requirements.txt
sudo apt-get install python-glade2
```

## Installation

### From source

```bash
pip install -r requirements.txt
python setup.py install
git clone https://github.com/Jooyeshgar/amir.git
cd amir
sudo python setup.py install
```

## Installation Using .deb File
### Ubuntu

Deb package for the latest version is available in [Launchpad](https://launchpad.net/amir/0.1/0.1/+download/amir_0.2_all.deb)

### Windows

To install the latest version of the package you can [download](https://launchpad.net/amir/0.1/0.1/+download/amir_0.2_all.deb) it from Lanchpad and install it.
Windows installer for version 0.1 is now available for [Windows](https://launchpad.net/amir/0.1/0.1/+download/Amir-0.1-win32-setup.exe)

## Run

Run `amir` command in terminal.

```bash
amir
```

## Generate Documentation
## Development

To start development and contributing install with below commands:

```bash
git clone https://github.com/Jooyeshgar/amir.git
cd amir
sudo python setup.py develop
```

## Documentation

To generate documentations first install [doxygen](http://www.doxygen.org/)

```bash
cd doc
git clone https://github.com/Jooyeshgar/amir.git
cd amir/doc
make all
```
```

## Author

Amir is developed by [Jooyeshgar](https://www.jooyeshgar.com)

## License

Amir is licensed under the GNU Genral Public License Version 3.0
13 changes: 0 additions & 13 deletions amir/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +0,0 @@
import os, logging
import pygtk
pygtk.require('2.0')
import gtk,gtk.glade
import gettext,locale
import gobject
import glib
from amir.amirconfig import AmirConfig
from amir.share import share

config = AmirConfig()
share.config = config
gettext.install('amir', config.locale_path, unicode=1)
Loading

0 comments on commit d628f6d

Please sign in to comment.